Note! This is, in essence, a more complicated (but safer!) way to accomplish waht is essentially already built in to TW. To do it without typing any code:
1. Go to Advanced search --> Filter 2. Type in your filter 3. Verify the list of links that pops up. When happy: 4. Click the trash icon. A popup will appear asking if you are sure with a button. If you are sure, press that button. In the code I pasted above, you have to manually copy/paste/type something to trigger the deletion (similar to how github works in deleting repositorys if you are familiar). I hate accidently losing data! On Wednesday, February 7, 2018 at 12:57:34 PM UTC-6, Diego Mesa wrote: > > Hey Sean, > > To be *extra safe*, you can use something like this: > > ''Going to delete the following tiddlers:'' > <br/> > <$list filter="[!is[system]regexp[^Formatting List]]" variable= > "tidToDelete"> > > * <<tidToDelete>> <br/> > > </$list> > > !! ''If you are sure'' > > Copy/paste the filter above into this button: > > <$button> > Delete these tiddlers! > <$list filter="PLACE_FILTER_HERE" variable="tidToDelete"> > <$action-deletetiddler $tiddler=<<tidToDelete>>/> > </$list> > </$button> > > This makes use of the regexp operator: > > https://tiddlywiki.com/#regexp%20Operator > > > If you copy/paste the code I placed above into a new tiddler on > tiddlywiki.com you can see that it will delete all Tiddlers whose title > *start* (thats the ^ character means) with "Formatting List". It prints > those titles out to make *sure* you are going to catch *only* the right > ones. If you're happy, you can copy/paste the filter into the button where > Ive indicated and then press it to delete them. > > For your use case, you can change the filter to be something like: > > "[!is[system]regexp[^week of]]" > > But *make sure* before you place this in the button filter! > > Diego > > > On Wednesday, February 7, 2018 at 12:41:31 PM UTC-6, Sean Boisen wrote: >> >> I've been using TiddlyWiki for weekly planning for some time, so I've got >> lots of tiddlers with titles like "week of 2014/01/06" that are no longer >> relevant. It takes multiple clicks to delete them one by one, which is a >> pain for dozens of obsolete tiddlers. I don't have tags on them. How can I >> >> 1. Create a list of tiddlers whose titles match some string (simple >> equality, or even better, regex) >> 2. Delete them as a batch >> >> ? >> > -- 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/3c610be3-d350-4789-80b2-07b9fef396f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

