1 May
2003
1 May
'03
11:52 a.m.
A few days ago I received great help with a regexp question - now here's another which I doubt can be done. Question: if the text string contains three words AAA BBB AAA then return the string (if any) which is repeated two or three times. Examples: AAA AAA AAA return AAA AAA BBB AAA return AAA AAA AAA BBB return AAA AAA BBB CCC return <nothing> Can this be done with a regular expression? And a very, very big thanks to those who wrote regexp, you have no idea how useful it is for me :-) Simon Brown, Casa Bergenia, CH-7031 Laax www.hb9drv.ch