Thank you all,
Please keep going on.
For future references I have started a new wiki on tiddlyspot.com to
document the question and answers from this discussion.
It can be accessed here: file:///C:/TW/Sandbox/tw-5.1.20-regexp.html#
I hope I have time to add explanation to all solutions. As Mat has given
some new use cases, I hope other people in the group send us their examples.
Cheers
Mohammad
On Friday, August 23, 2019 at 11:57:46 PM UTC+4:30, Mat wrote:
>
> Great stuff guys!
>
> Please give your use case.
>>
>
> I'd like to access
>
> 1. from X until the end of the sentence
> 2. ...until the end of the paragraph
> 3. ...until the end of the text field
> 4. The smallest of the above, i.e a kind of OR that first looks for
> everything from X until the sentence end and if this doesn't exist, then
> from X until paragraph end and if that no exist then X till text field end
> 5. all possible characters that typically follow a word in common text
> i.e:
> . OR , OR (space) OR ! OR ? OR : OR ; OR (spacechar) OR (end of text
> field) OR .......I don't even know
> 6. Anything between "@@" and "@@"
> 7. Anything between "xxxx {" and "}" (i.e css style defs) including
> some kind of split up for each item therein i.e to reach e.g "color" and
> "red".
> 8. Anything between html "<tag>" and "</tag>"
>
> <:-)
>
>
>
--
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/4b058ae3-3d7b-4056-af45-37cf1759f4e6%40googlegroups.com.