obsidian-filename-heading-sync icon indicating copy to clipboard operation
obsidian-filename-heading-sync copied to clipboard

Exclusions

Open gudstrand opened this issue 2 years ago • 2 comments

I have two folders that I want to exclude but it does not seem I can enter multiple regex patterns, unless I a mistaken. Would it be possible to add a way to easily exclude folders and/or additional regex patterns?

Thanks!

gudstrand avatar Mar 22 '22 14:03 gudstrand

You can handle that with the regex OR operator, like .*(File1|File2).*:

https://www.regexpal.com/?fam=121813

RegEx is powerful enough that one expression can match multiple very detailed targets

dvcrn avatar Mar 24 '22 06:03 dvcrn

https://www.regexpal.com/?fam=121813

Excellent example. Thank you, dvcrn

cesar-programs avatar Apr 12 '22 20:04 cesar-programs