Censoring on old posts


Well-known member
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?


Well-known member
I'm unsure how to change these ones,

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

any help?


Well-known member
I managed it, kind of. Now all links are like this,


I believe only the video ID should be there.

Jake Bunce

XenForo moderator
Staff member
Use this:

Quick Find: [media=youtube

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

Replacement String: [media=youtube]\1[/media]