Converting with Regular Expressions
- Posted by euphoric (admin) Jan 21, 2011
- 1465 views
I need to convert something like this:
<a href="http://www.mydomain.com/index.esp?var1=1&var2=2">A LINK</a>
into
[[http://www.mydomain.com/index.esp?var1=1&var2=2 -> A LINK]]
There will be multiple instances, so I'd like to use a regex match.
Who can write the regex for this?!?! :)