Ingenious
Well-known member
In my imported forum, all YouTube videos are embedded in posts using some custom BBcode, because otherwise vB just displayed a link to the video and not embed the actual video. So my forum posts are full of:
 
[YOUTUBE]videocode[/YOUTUBE]
 
Is there an easy way I can do a search and replace on these as follows:
 
find [YOUTUBE]$string[/YOUTUBE]
replace with
 
	
	
	
		
 
I'm sure I read somewhere you can do a search and replace but I cannot for the life of me find this now. I can't see any options either in XenForo admin or vB admin to run a search and replace query like this.
 
Any ideas please?
				
			[YOUTUBE]videocode[/YOUTUBE]
Is there an easy way I can do a search and replace on these as follows:
find [YOUTUBE]$string[/YOUTUBE]
replace with
		Code:
	
	http://www.youtube.com/watch?v=$string
	I'm sure I read somewhere you can do a search and replace but I cannot for the life of me find this now. I can't see any options either in XenForo admin or vB admin to run a search and replace query like this.
Any ideas please?