If you use Templates in Obsidian and like to create an empty task item for quick typing, you will often find empty tasks showing up in your task lists.
The first trick is to exclude your Templates folder from Tasks. You can do this in the Tasks block as below. Replace Templates with wherever you store your templates.
```tasks
path does not include Templates
```
If you also leave empty tasks in your main notes, you can filter them out by including the regex below. This simply matches the start of a string immediately followed by the end of the string, with nothing in between.
```tasks
description regex does not match /^$/
```
If you combine them together as below, you should be covered for most scenarios.
```tasks
description regex does not match /^$/
path does not include Templates
```
Before

After
