EQnoble
Well-known member
I need to replace all links in the posts from
http://www.domain.com/ to
http://domain.com/
Only for certain domain.com
Quick Find:
		Code:
	
	[URL]http://
	Regular expression: *replace DOMAIN with your domain - if not a .com replace com with whatever it is
		Code:
	
	#(\[url]http://)(?:www\.)(DOMAIN\.com(?:[^\[]+)?\[/url])#siu
	Replacement String:
		Code:
	
	\1\2