On Friday, November 13, 2020 at 3:02:47 PM UTC-8 you wrote:

> I wanted to remove all "==" from my TiddlyWiki.
>

Here's one way...

Put the following into a tiddler to create a button.  Then click the button:

*<$button> remove "=="*
*   <$list filter="[all[tiddlers]!is[system]search:text[==]] 
-[<currentTiddler>]">*
*      <$action-setfield text={{{ 
[<currentTiddler>get[text]split[==]join[]] }}} />*
*   </$list>*
*</$button>*

Notes:
1) The $list filter finds every tiddler that contains at least one 
occurrence of "==" (excluding the tiddler containing the button itself)
2) For each tiddler found, it gets the text content, splits it at each 
occurrence of "==" (removing the "==" in the process), and then joins the 
remaining text
3) It then replaces the original text content with the re-assembled text 
without the "=="

Be sure to backup your document before trying this, as it can change lots 
of tiddlers with a single click!

enjoy,
-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/433008f5-8858-46e5-ba77-951d1c68bce7n%40googlegroups.com.

Reply via email to