I have notes with the tag #/ but they should all be replaced with the tag #/ . Can I do a global replace all or do I have to change each note? Thanks from a Total newbee.
For replacing tags specifically, the Tag Wrangler community plugin can be found via Settings → Community Plugins. You’ll have to turn off Safe Mode to be able to browse, install, and enable community plugins. It should have some documentation explaining how to do what you want.
For “replace all” on things that aren’t tags, try a more detailed search of this forum but the answer may be opening your notes in a program other than Obsidian and doing the find/replace there.
Oh, yes! sorry I misunderstood the question. actually I use Tag Wrangler and it’s very helpful. but I was meaning how to do it with javascript.
I’m trying to do an action to replace the tag in the actual note.
The problem is that i have the note text replaced in a variable and don’t know how to replace the text in the note.