j
k
j a
j l
How about: (\w+)(?:\s+$1)+
Which should of course have been: (\w+)(?:\s+\1)+ or "(\\w+)(?:\\s+\\1)+" if it's embedded in your program as a C string. John.
Back to the thread
Back to the list