Hi TT,
 This may be the answer

http://tw-regexp.tiddlyspot.com/#Find%20All%20List%20Items%20in%20a%20Tiddler

Mark explained why he uses splitregexp and then join to create one line 
text from a tiddler text.

--Mohammad

On Monday, September 16, 2019 at 3:51:15 PM UTC+4:30, @TiddlyTweeter wrote:
>
> I like regular expressions. But converting them to TW filter syntax I get 
> lost ... Here is an issue. 
>
> For the TEXT field below how would I use "splitregexp" & "regexp" to 
> EXTRACT only the text between the tags?
>
> Morbi non enim facilisis, lacinia odio volutpat, congue arcu. Sed vel 
> ullamcorper 
> magna, maximus malesuada nulla. Fusce pharetra commodo facilisis. *<russ 
> class="fred"**>*---- #1 This is not
>  Latin.----*</**russ>* Integer in justo ac diam *<russ class="fred">*---- #2 
> This is not Latin either.----*</russ>*
> lobortis eleifend. Nullam vitae sollicitudin risus. Etiam ut aliquet nulla
> . 
> Morbi facilisis urna id lacus feugiat suscipit.
>
> Quisque a nulla luctus lacus tincidunt euismod. Duis condimentum luctus 
> leo a tristique. 
> Donec quis vulputate arcu, non lacinia purus. Nullam sit amet interdum 
> lorem. *<russ class="fred"**>*---- #3 Nor is this Latin.----*</russ>*
>
> The output should look like ... 
>
> ---- #1 This is not Latin.----
>
> ---- #2 This is not Latin either.----
>
> ---- #3 Nor is this Latin.---- 
>
>  
> Any help appreciated!
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69892842-df4c-42e4-aaeb-556624ffe83d%40googlegroups.com.

Reply via email to