Is it possible to automate Notepad++, specifically the search and replace across files?

Is it possible to automate Notepad++, specifically the search and replace across files?

I want to be able to automate the search and replacement of placeholder values across a number of file types, e.g. .config and .pubxml, and rather than write PowerShell script, I'd prefer to use the ready built (and tested) functionality in Notepad++

1

1 Answer

There's so many ways for achieving this. I'll stick to the ones that uses Notepad++ for now

  1. Notepad++ > Search > Find in Files and go from there adjust the mask or make backups, and read your option this WILL replace all files in sub folders by default

    OR

  2. for more advanced search and replace Notepad++ > Plugins > Plugin Manager > Show Plugin Manager now search for and Install "Python Script" read here for more. This require some basic coding skills or you'll need to read and test for a while.


if you're looking for a command-line tool you can use fnr.exe - Find And Replace Tool, It's a simple and effective Open source tool It's portable, free, lightweight and more Stable than basic codes that we may create.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like