\S*?any non-whitespace character, repeated any number of times
Group 1(more|enough|less) morethe literal text more (case sensitive) enoughthe literal text enough (case sensitive) lessthe literal text less (case sensitive) \S*?any non-whitespace character, repeated any number of times
\1the text saved by group 1