I have a WordPress blog with numerous URL’s I wish to replace from this:
To this:
For example, from this:
To this:
I believe the following plugin:
http://urbangiraffe.com/plugins/search-regex/
will do the trick with regex, but I am looking for the correct regex to use here.
I found this stackoverflow thread that has a similar task, but since I am not too apt with regex, I was hoping for help so I don’t mess anything up.
Thanks,
Tal
Search for the regular expression:
and replace with:
In PHP: