Is there a way to run a * query in the cleaner?
Basically I used a [video] bbcode on my phpbb3 forum that I imported.
The problem is, on import it looked like it stored each video as a different random code, one for each post.
For example
post 1 with embeded video looks like this [video:1sdfqtqw]http://www.youtube.com/watch?v=fbGkxcY7YFU[/video:1sdfqtqw]
post 2 it looks like this [video:368mrk79]http://www.youtube.com/watch?v=ODz2rUXpKWw[/video:368mrk79]
etc etc, each post has its own random string after the [video: part of the code.
Any way I can fix this in cleaner, or will i really have to go through 14k posts deleting them?
I tried using something like this;
$replacer = array(
"[video:*]" => "",
"[/video:*]" => ""
);
but, it didnt work
Basically I used a [video] bbcode on my phpbb3 forum that I imported.
The problem is, on import it looked like it stored each video as a different random code, one for each post.
For example
post 1 with embeded video looks like this [video:1sdfqtqw]http://www.youtube.com/watch?v=fbGkxcY7YFU[/video:1sdfqtqw]
post 2 it looks like this [video:368mrk79]http://www.youtube.com/watch?v=ODz2rUXpKWw[/video:368mrk79]
etc etc, each post has its own random string after the [video: part of the code.
Any way I can fix this in cleaner, or will i really have to go through 14k posts deleting them?
I tried using something like this;
$replacer = array(
"[video:*]" => "",
"[/video:*]" => ""
);
but, it didnt work
Comment