Create a regular expression to match any of the phrases added to the trie.