What is the regex pattern and the WikiText script to extract:
- all content between two delimiters
- the start delimiter is
@@.red
and is on its own line - the end delimiter is
@@
For example I have test tiddler like below
Title: test
Text:
This is @@.red Hello TW.@@ now I start another line
The second line
@@.red
I am the right section.
@@
End of this tiddler
Expected code to be completed…
<$let t="[[test]get[text]]">
<$list filter="[<t>regex<thepattern>]">
</$list>
<$let>
Expected output
I am the right section.