Templater to delete section or entire document

I am looking for a templater solution that can delete all the text under a particular heading.

Alternatively, maybe just clear the entire document contents cause its more of an MOC so i can then immediately rebuild it as part of the templater

is something like this possible?

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