Hello Tiddlywikians,
is there a trick to use a wildcard character in complex search-replace text operations?
I would need something like this:
\define replace-action() <$action-setfield text={{{ [all[current]get[text]search-replace:g:<in>, <out> }}}/>
\define replace(variable)
<$vars() in="start $(variable)$ *wildcard* end" out=... >
<<replace-action>>
</$vars>
\end
<<replace "test">>
The idea is based on the macros of @stobot 's sticky-plugin
Thanks and best wishes Jan