Tips for 2 Regular Expression

  • [:space:]{2,} - Finding whitespace character 2 and more
  • ^$ - Finding empty paragraph
  • \n - Finding manual line break (line break using SHIFT+ENTER) ... Warning: It will not work if you want to find a paragraph break (line break using ENTER)
  • $ - Tricks for finding a paragraph break (line break using ENTER), The problem with this is that it search up to the next paragraph whitespace, so it is good for joining line.

I will post some other bag of tricks as I learn them.