Censoring on old posts

m1ne

Well-known member
Licensed customer
I'm trying to replace all instances of [video=youtube] with [media=youtube], same applies for [/video] and [/media].
The word censor only applies to new posts, any way around this?
 
I'm unsure how to change these ones,

[align=left] to [LEFT] (same for center and right)
[video=youtube] to [/media=youtube]

any help?
 
I managed it, kind of. Now all links are like this,

[media=youtube]http://www.youtube.com/watch?v=rGD1sEM0pNo[/media]

I believe only the video ID should be there.
 
Use this:

Quick Find: [media=youtube

Regular Expression: #\[media=youtube\].+watch\?v=([^\[]+)\[/media\]#siU

Replacement String: [media=youtube]\1[/media]
 
Back
Top Bottom