Regex functionality for find and replace within obsidian

I’ll add my support for this, mostly due to the fact that mobile doesn’t support Vi mode and hence has no way to do this.

4 Likes

I’m starving without this feature, please, implement it! For now I have to open my notes in Sublime or VS Code, and I use regex search and replace every day, so this is not very convenient.

1 Like

+1. It would make so many things easier!
I use atom now, but would be great not having to mess with my vault files with another editor (even if I can).

1 Like

+1 Very userful

I just released the first version of a plugin which adds this ability here: GitHub - nothingislost/obsidian-regex-search-replace: Plugin to enhance the functionality of Obsid

It’s not in the plugin repository yet so it needs to be installed manually for now. If anyone wants to test it out and provide feedback via Github issues, feel free.

Note: it does not support replacing text using regex capture groups yet but I will see if I can add support for that.

3 Likes

The latest release adds support for replacements using capture groups.

8 Likes

Hi the plugin no longer works. Do intend to support this plug in in the future?