I need some simple help with regex I want to grab the values in between brackets and equal signs.
<a href="[url=img.php?i=1][pod=2]">My Link</a>
then grab the values of url = img.php?i=1 and pod = 2
so somehow regex should check in between [ and = then get the value in between = and ]
try out this sample for yourself – http://jsfiddle.net/ENwf8/
prints: