Ciao Mat 

>
>    1. from X until the end of the sentence
>    2. ...until the end of the paragraph
>    3. ...until the end of the text field
>
> The exact regex may differ according to the context (type of field, does 
it have line-breaks?, what are the regex settings?) ... 

Test data for a field with no line breaks ...

This is the content of a field containing X and the rest of it.

This will match from the first "X" to the end ...

<option value="X(.+)$">Capture match after FIRST "X"</option>

This will match from the first occurrence of "X" to the end of the string
The *(...) *creates a "capture group". 

This is the content of a field X containing X again and the rest of it.

<option value="^.*X(.+)$">Capture match after LAST "X"</option>

This will match from the last occurrence of "X" to the end of the string 
("*" greedy match ON)
The *(...) *creates a "capture group". What is captured is in green ...


[image: Annotation 2019-08-24 124212.jpg] <about:invalid#zClosurez>




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/bb73a602-7912-456f-8b31-94d6acb4987f%40googlegroups.com.

Reply via email to