Adding text to the beginning of multiple files in Notepad++
问题 I have many text files, and I need to add some text (e.g. MNP) to the beginning of the first line in each file. How can I do this in Notepad++? 回答1: (I'm using v6.6.9) Make sure to backup your work beforehand, and set proper extension of files to affect and folder to search through before you do this. You can use regular expressions. Several places around the internet claim that the regex \A works, but it wasn't working for me, it was cycling byte by byte through. I found that \A^ sticks to 0