Ciao Mark & Mohammad

*Duplicate words*

I suggest this ... This matches sequential duplication of words any number 
of times

<option value="(\b\w+\b)(?:\s+\1)+">Duplicate Words (in Sequence)</option>

It is NOT case sensitive but might be set so.
*"\b"* is "word boundary". Its an "anchor" of no length.
The first captured group *"*(\b\w+\b)*"* is repeated by "\1" the final "+" 
repeats 
the second capture group *"**(?:\s+\1)"*  as many times as needed. The 
*"(?:" *prevents it being retained as a numbered capture group.
*"\s"* will match a line break in a field that has them.

Example match ...

[image: Annotation 2019-08-24 165516.jpg]


TT


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/397269e7-6f23-4681-887b-0de028ab6ad5%40googlegroups.com.

Reply via email to