You've replied to the wrong thread. > Do I need to do anything to "domain.com" to escape the "." ? \. otherwise you could match domain1com.net, domain2com.org, domain3com.tld And you should anchor it: m/domain\.com$/i -- Cambridge Energy Alliance: Save money. Save the planet.