Do it as a macrocall:

<$macrocall $name="regexpsub" regtext="Hello" subtext="Goodbye" 
text={{HelloThere}}/>

-- Mark

On Thursday, February 14, 2019 at 11:11:20 AM UTC-8, Mohammad wrote:
>
> Hi Mark,
>  It works great! Some question:
>
> The macro has three parameters
>
>    - text
>    - subtext
>    - regtext
>
> Is it possible to send a whole tiddler to macro, e.g 
> text=<<currentTiddler>> ?
>
> does regtext accept the same JS regexp expression?
>
> --Mohammad
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0add050b-3b11-49cf-b49e-f41495f78fda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to