in reply to Regular Expression Help

If all of the words can be rearranged, you may want to look at Parse::RecDescent to build a grammar.
from the frivolous to the serious