NotePlan
NotePlan
Nov 22

Find and Replace with RegEx

Most note editors have find and replace and most of those have a RegEx option. Can NP also have find and replace with RegEx for the current note?
PendingPending

Ghost
Guest2 weeks ago

This is a bit of an edge case. I chose NotePlan because I could open up my note folders in a coding editor like Sublime Text or VS Code, and I do use regex search and replace there to perform operations that can't be done in NotePlan. I have done this to change a format of information I've inputted to match some new scheme that I'm moving to, so it is rare. It would be nice to have regex search and replace, but agreed, it's niche and a low priority, in my opinion, given that you can just open up the notes in folders with your preferred coding editor of choice, and you are less likely to perform regex searches on an iPad or iOS.

Sep 2, 2024

Bumping for Eduard Metzger’s consideration.

Sep 4, 2024

Craig Pinegar You mean within the note or across all notes?

Sep 4, 2024

Hi Eduard Metzger , within the note would be great.

Sep 4, 2024

Craig Pinegar Find Replace is available, just not as RegEx, which ones do have that?

Sep 5, 2024

Eduard Metzger. Yes, the text-based Find Replace is nice, and I use it a lot. Was wondering if, like Textastic, a RegEx Find Replace option might also be added: here is their basic implementation:

Sep 5, 2024

Craig Pinegar It could be, but the feature appears to be very niche? NotePlan is not a coding IDE. Though I see there are a few more votes on this.

Sep 6, 2024

Eduard Metzger. Yes, I agree NP is not an IDE. Mine is an edge case, however let me explain. I use a RegEx pipeline plugin from Obsidian on every NotePlan daily note to clean up email addresses, phone numbers, etc. With this simple RegEx option in NotePlan, I would not have to use Obsidian at all.

Sep 7, 2024

Craig Pinegar How about writing a plugin for NotePlan? Asked in the community?

Sep 7, 2024

Eduard Metzger great idea!

Aug 7, 2024

Agreed! And regex for filters

Dec 27, 2023

Please consider RegEx Search and Replace in Current Note for Mac, iOS, iPadOS.

Dec 5, 2022

I was pleasantly surprised to find that NP has basic Find and Replace, accessible on iPad from with an external keyboard. Now, all there is to do is add a RegEx option and accessibility through a native shortcut, so iPad and iPhone can get to it from the app. So close!!! :)