Global find and replace with template

What I’m trying to do

In a bunch of files I have a call out that contains a tasks query of the form:

> [!todo] 
> ```tasks
> ```

And I would like to replace it with a template which produces an updated tasks query across the entire vault.

Things I have tried

Elsewhere people suggest using sed or an IDE or similar to do global search and replace, however this will give me the text of the template, rather than the evaluated template.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.