Below that, I've got my list of files it touched. Compare files and return only the differences using Notepad++. Then I can name that file regex_whatever_search.txt and at the top of it include the regex used for the search and replace. In Notepad++'s search results pane, I can do a right click and copy, but that includes all the line #s and code which is just too much noise, especially when you're getting hundreds of matches.Īnyone know how I can get these results to just the file name/paths? I'm after something like: /about/foo.html The plugin compares the two files side by side so that any differences in text are highlighted. Click the Plugins menu, then select Compare, and finally Compare. The # of hits in each file would be a nice addition, but really it's just a list of file names/paths that I'm after. By opening the Notepad script, you can run a comparison check on the two files you want to use. What I really want is a separate text file of the file names/paths. It also gives me the line #s which I don't really care that much about. ![]() I can do my regular expression searches in Notepad++ and it gives me file names/paths and number of hits in each file. ![]() ![]() I'm looking to build an audit trail so I at least know what files were touched by what searches/replaces. I need to do quite a few regular expression search/replaces throughout hundreds and hundreds of static files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |