Reword regular expression to handle words with spaces in them