• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Post content replace

ibaker

Well-known member
#1
I have many posts that contain img links to old smilies that I want to clean up by simply making them actual smilies again so I am trying to replace the img links to smilie bbcode using Kier's Find and Replace Mod:
http://xenforo.com/community/threads/post-content-find-replace.6548/

So each smilie is contained in the img link like:
Code:
[IMG]http://www.recreationalflying.com/styles/old_smilies/ace.gif[/IMG]
which I need to convert to say:
Code:
:ace:
But I can't get the parameters right for the Regular Expression:
1.jpg

Can anyone advise...thanks