Do a regular expression replace instead of exact string search and replace.