I imported my OneNote files and noticed only belatedly that some of them have an  (literally this) where a line-break existed in OneNote. So, instead of having a nicely formatted text, it’s all one blob of text.
It’s not everywhere (that’s why I noticed it late – too late to try anything different in my import, since I blew up the OneNote setup); I copy a lot of food recipes from all sorts of sources (websites, magazines and books via Libby (a library ebook reader app)) and apparently some had this coding.
Am I missing a plug-in that could achieve what I need? I thought I looked through them all. (I skipped those that seem to require an IT degree.)
Things I have tried
I’ve searched for ways to easily replace all of the instances of  with a \n line-break, but the one promising community plugin I found (Regex Find/Replace) is sadly 4 years old and doesn’t seem to work anymore. (Neither any assigned hotkey works, nor does the described command appear as an option in the command palette.)
I looked at the plugin called “Global Search and Replace for Obsidian” but saw that I would have to confirm each instance by itself, and that could take days. (Besides, when I tried to use it – making sure the “use regex” is enabled – it replaced  with a plain text \n instead of a line-break.)
I also tried a 3rd-party tool in Linux called Regexxer, but I am unable to paste the copied ‘obj’-thingy into the search field and don’t know how to replicate it otherwise.
My setup
I’m on Linux Mint 21.3. And also use the Obsidian android app on a tablet and a phone.
I know how to plonk some simple regex commands into a form, but I don’t know it from scratch, nor do I recall any of the programming languages I learned more than 30 years ago. In other words: I’m just a dumb user.
Correction (I can’t edit my original post anymore): I finally got the Regex Find/Replace plugin to work – it seems to be very finicky re where exactly the curser is (in the Linux version) when trying to call up the plugin via the hotkey. However, yes, it works, but also ONLY in one note at a time. I need a solution that searches and replaces vault-wide.
I’m not sure there is a plugin that does both regular expressions and vault wide replace (maybe there is now; there wasn’t before, at least). But because the notes are text files, you can use any other app on them (like VS Code, which does Regex replace across files).
EDIT: Wait, we talked about this sort of thing in another thread. Disregard the VS Code mention, obviously. Did the Regex app you tried not work out?
No. As I wrote: I can’t copy the  into the regex search field in regexxer – someone on the obsidian reddit gave me a hint how to do it, with hex for the  but it doesn’t work – it doesn’t find the .
Meanwhile I’d be OK with just having a reliable 1-note-at-a-time solution. But neither of the two regex plugins I mentioned above work for me – when I enable regex and search for  they find it, but the \n never comes out other than a plain text \n.
And all the other plugins that promise regex search & replace are above my understanding.
(And again, I’m too slow for being able to edit my own post. Really, 15 minutes? Give us oldies a break, please!)
! I just managed to get one solution working – the Editing Toolbar plugin has a custom reg ex command function. Sadly, “global” means only all instances in the same file, but at least it’s actually working, and reliably. Phew. I’ll work my way through the pages over time. And will keep an eye out for a real vault-wide solution.
It’s only because you’re new – a spam prevention measure to prevent stealth edits. Once you have a few more posts and interactions, get/give likes, etc., you’ll be able to edit your posts. Thanks for understanding.