replacing tags after an import
Hi
I have improted my forum from phpbb to vbuletin using impex.
I used to have a custom bbcode in my phpbb forum called [spoiler] which was hiding the text inside, and I made a similar custom bbcode inside my vbulletin board, using the same tags.
The problem is that for some reason all the [spoiler] tags were imported as [spoiler:xxx] tags (where xxx is some strange chain of chars like 3h120f9a0 and it's different for each spoiler used).
I was thinking of using the cleaner.php script to replace [spoiler*] with [spoiler] but the support told me it wouldn't work with the asterix, and that I need to use regular expression. They also told to ask here so that's what I'm doing. How can I replace all the [spoiler:*******] and [/spoiler:*******] tags with [spoiler] and [/spoiler] ?
Thanks in advance for all your help
|