figured out the regex string I needed to generate for wordsearch to work