we should support spaces (and what other kinds of characters?) in both search and replace text strings