XF 2.1 Regular expression

DCMS

Active member
Hello
Can some one help me to find the right regular expression for replacing text with find e replace function?

I have many iframes inside a section of the forum (imported from vbulletin) , all them target to the site archive.org at different folders and i have to find them to replace the content like this:

This is a typical iframe you can find inside, there are like 1000+
<iframe src="https://archive.org/embed/msdos_Metal_Gear_1990" width="560" height="384" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>

I need to replace these strike content:
<iframe src="https://archive.org/embed/msdos_Metal_Gear_1990" width="560" height="384" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>

and replace them like this:
[MYBBCODE] msdos_Metal_Gear_1990 [/MYBBCODE]


Anyone can suggest to me what regular expression can i use?
i'm using this: https://xenforo.com/community/resources/post-content-find-replace.1549/
so i have 3 field: Quick find, Regular expression, replacement string.

thanks.
 
Top Bottom