Hello,
Is there a way to easily replace all references of a note with the text of a note ?
For instance, I’d like to turn all “[[hello]]” to “hello”.
Thanks a lot !
Hello,
Is there a way to easily replace all references of a note with the text of a note ?
For instance, I’d like to turn all “[[hello]]” to “hello”.
Thanks a lot !
I wanted to be smart and answered “with Regex,” but now I have discovered that Obsidian doesn’t support Regex by default.
Maybe you try with this plugin: GitHub - Gru80/obsidian-regex-replace: Plugin for Obsidian, providing search/replace functionality which supports regular expressions and selections.
And expression should be something like this \[\[(.*?)\]\]
.
Hope it gives you something for further investigation … cheers, Marko
I tried but it seems that it only allow to replace text withinin a single note and not across the whole vault.
Thanks for the suggestion tho, I appreciate !
When I need to do regex replacements across a folder or my entire vault, VS Code throws a cape around its shoulders and pulls on a pair of Speedos overs its skintight leggings to save the day: