Got it!
On Thursday, February 14, 2019 at 11:17:24 PM UTC+3:30, Mark S. wrote:
>
> 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/13471337-cc0f-48e0-b5d3-85889180a789%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.