A way to delete a tag from my whole vault? all files it contains

What I’m trying to do

I’m trying to find a way to delete a single tag from all my files in the entire vault, I have it on 50 files and would prefer not to delete it all manually.

Things I have tried

I tried the Regex Find/Replace but it can only do it for every single note manually, which is only useful when I would have the same tag or word many times in one file and not just once.

I also have no clue about coding; otherwise, I would have tried to find a way with that.

regex replace jobs are done usually outside of obsidian – look around in forum threads
when you remove the tag, remember to delete the line break as well, e.g.
- tagtodelete\n

…replaced with zero string, if you have your tags in a list

other than that, other automation techniques in obsidian will prolly be more advanced
maybe check out Linter plugin if it can remove tag values as well…

1 Like