XF 1.2 Find/Replace URLs in Posts (Regex/VBSEO)

Morning,

I'm in the middle of finalising a migration from vBulletin v4.2.2 which was utilising the defunct VBSEO plugin, it also includes a domain migration. I want to utilise Kier's Find & Replace plugin to replace the old internal links.

I could leave them linking off-site and having the .htaccess rewrite bounce it back, but it's an ugly solution and I'd rather get the job done properly.

The old VBSEO structure:
Code:
http://domain.tld/category-name/00-thread-name.html#post00

Link example:
Code:
http://accordownersclub.co.uk/7th-generation-accord/4621-new-member-2-4-type-s-2.html#post35539

Xenforo deploy:
Code:
http://hondakarma.com/threads/4621/#post-35539

Migrating the thread name isn't important as I know XF will redirect fine with just a thread ID. The only part I'm not sure on, is when matching a specific post in a thread using an ID, if the post linked isn't on the first page, XF doesn't seem to redirect automatically to the correct page containing that post. Basically just relying on browser's native navigation by HTML "id" attribute.

Any help appreciated, Regex is not my friend.
 
How can replace

HTML:
[media=soundcloud]soundofcolor/contemplating-a-mutiny-1[/media]

to this

HTML:
[MEDIA=soundcloud]https://soundcloud.com/soundofcolor/contemplating-a-mutiny-1[/MEDIA]
 
Top Bottom