Replace arbitrary strings with other arbitrary text strings