Extract text from xml file (ignoring commented out elements) and create a one line regex.
txt123 txt127 txt137 txt148
^(txt123|txt127|txt137|txt148).*$