Reputation: 786
I have recently been having fun using regex successfully in Notepad++'s search and replace box.
However, I now have a short list of lengthy search-and-replacements that I would like to do again to another file later, and rather than enter them manually again, I was hoping I could stick them in a script somewhere and point it at my next file.
Is something like this possible in Notepad++?
If not, please recommend something that does support such a scheme.
Upvotes: 1
Views: 2351
Reputation: 795
Notepad++ may not be the best tool for automated operations. I would suggest a scripting language with a powerful regex engine like perl for this use. Please note though that your notepad++ regular expressions may not work with other engines right away.
If you don't want to learn a new language just for this, perhaps you can use Macro recording for this. I never used that feature, but I guess this is what it was designed for ;)
Upvotes: 1