I am trying to delete some templates with their content. I have gone as far as using something like:
{{WoodhouseENELnames\n(.*?)\n}}
Which only captures text in the template if there is one line break after the template name and another before the end of template. How can I edit this so that it captures any text and any number of lines until it reaches the first "}}" bit (non-greedy)?