Posts

Showing posts from March, 2024

Regular expression syntax cheat sheet

Regular expression syntax cheat sheet - JavaScript | MDN (mozilla.org) Regular expression syntax cheat sheet This page provides an overall cheat sheet of all the capabilities of  RegExp  syntax by aggregating the content of the articles in the  RegExp  guide. If you need more information on a specific topic, please follow the link on the corresponding heading to access the full article or head to  the guide . Character classes Character classes  distinguish kinds of characters such as, for example, distinguishing between letters and digits. Characters Meaning [xyz] [a-c] A character class. Matches any one of the enclosed characters. You can specify a range of characters by using a hyphen, but if the hyphen appears as the first or last character enclosed in the square brackets, it is taken as a literal hyphen to be included in the character class as a normal character. For example,  [abcd]  is the same as  [a-d] . They match the "b" in "brisket", and the "a"

Notepad++ - Run Macro on multiple files

From   notepad++ - How can I run a macro on multiple files? - Super User How can I run a macro on multiple files? (...) I want apply a Macro created in N++ to multiple files stored in a folder or multiple folders. (...) I just found a simple and easy solution for that: Make sure the macro ends with a Ctrl-Tab key From Settings -> Preferences -> MISC, disable the doc switcher. Open all files to be edited. Use the "Run macro multiple times" dialog, and enter the number of files you have just opened. Execute Save all I did not create this, found it here: https://sourceforge.net/p/notepad-plus/discussion/331754/thread/469ffec9/  , but it worked like a charm for me. I could edit 400 documents in less than 2 min.