Wildcards in tasks? #3065
-
New to Obsidian, New to Tasks. Search has not turned up an answer, so here goes...
How does one achieve this? Thx. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Welcome!
Thanks for looking - I appreciate it. General adviceMake sure you use the See Explaining Queries. General info: Tasks and Daily notes
Searching the docs for https://publish.obsidian.md/tasks/Advanced/Daily+Agenda It's not the clearest of our docs pages, but it does show the syntax for a few different template plugins, although not Templater. Fundamentally, you need to get your templating program to detect the date in the filename and including it in the queries in your daily note, when the template is applied. To generate text like:
Option: Placeholders: Using the filename directly in TasksIf your daily notes are named exactly in
For example, if my note is called
Includes this output:
Option: Get your own templating engine to your daily note file names
It really depends on which templating plugin you are using. Try out the info in the Daily Agenda page above. If using Templater, the examples on this page of its docs should get you started: https://silentvoid13.github.io/Templater/ Aside: Regular expression searches (not for dates)
As an aside, we do have regular expression searchings, but only for text fields, not for dates: https://publish.obsidian.md/tasks/Queries/Regular+Expressions |
Beta Was this translation helpful? Give feedback.
-
I will dig into that, thanks!! |
Beta Was this translation helpful? Give feedback.
-
btw, love and grateful for regex support. I have been a regex junkie since college, going on #&@^#$ years!! |
Beta Was this translation helpful? Give feedback.
Welcome!
Thanks for looking - I appreciate it.
General advice
Make sure you use the
explain
instruction to double-check your queries when setting them up.See Explaining Queries.
General info: Tasks and Daily notes
Searching the docs for
daily
leads to here:https://publish.obsidian.md/tasks/Advanced/Daily+Agenda
It's not the clearest of our docs pages, but it does show the syntax for a few different template plugins, although not Templater.
Fundamentally, you need to get your templa…