MahmoudFawzyKhalil / obsidian-global-search-and-replace

A plugin to do a global search and replace in all your Obsidian vault files.
GNU Affero General Public License v3.0
84 stars 4 forks source link

Search for Special Characters (like Tab) doesn't work #10

Closed mhellmeier closed 1 year ago

mhellmeier commented 1 year ago

I want to replace all tabs (ASCII char 9 / Unicode U+0009) in all files with four empty spaces (" "). When searching for the tab character, the plugin doesn't find any results. When using the built-in Obsidian search, it is able to find and replace it per file. Therefore, there is a bug with special characters (like tabs) that the plugin can't find.

MahmoudFawzyKhalil commented 1 year ago

This should work now if you use regexmode and use \t for tab. image