Convenient Regex
If you master regular expressions (regex), you can do most of the things without tools. Regex is a technology that allows text search under various conditions.
By the way, this tool also uses regex in the program. For example, “Delete blank lines” is a delete the character that matches the regex ^\s*?$(\r\n|\r|\n)?
. This symbol is called a metacharacter and has an abstract meaning. Regex is searching by combining these metacharacters.
Metacharacter | Meaning |
---|---|
^ |
Beginning of line |
\s*? |
0 to n whitespace |
$ |
End of line |
(\r\n\|\r\|\n)? |
0 to 1 line feed |
I also wrote an article on regex, so please have a look if you like.