Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross post for the https://forum.obsidian.md/t/regex-capture-groups-for-query/33627
It would be nice to enable regex capture groups to subselect the text that is returned from a query.
Query
path:(Operations/Calendar/Daily/2022/03/2022-03-07) /Summary of topics discussed/
Example:
Ideally, “Summary of topics discussed” could be removed from the query results and only the remaining text would be returned by the query
Proposed solution Regex Capture groups.
Example Query
path:(Operations/Calendar/Daily/2022/03/2022-03-07) /Summary of topics discussed((.|\n)*)-/
This slight modification would match only the text in the capture group.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Cross post for the https://forum.obsidian.md/t/regex-capture-groups-for-query/33627
It would be nice to enable regex capture groups to subselect the text that is returned from a query.
Query
Example:

Ideally, “Summary of topics discussed” could be removed from the query results and only the remaining text would be returned by the query
Proposed solution
Regex Capture groups.
Example Query
This slight modification would match only the text in the capture group.
The text was updated successfully, but these errors were encountered: