Skip to content

Instantly share code, notes, and snippets.

@loudoweb
Last active April 18, 2018 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loudoweb/a3fd014dad1688665c1e04b0cf94059d to your computer and use it in GitHub Desktop.
Save loudoweb/a3fd014dad1688665c1e04b0cf94059d to your computer and use it in GitHub Desktop.
Notepad++ regex
*Add full stop period*
([a-zA-Z]+)]]> replace with $LAST_SUBMATCH_RESULT.]]>
Non breaking space between number and mm
([0-9]+) mm replace with $LAST_SUBMATCH_RESULT mm
Add non breaking space before :
([0-9a-zA-Z]) : replace with $LAST_SUBMATCH_RESULT :
Add non breaking space between number and word
([0-9]+) ([a-zA-Z]*) replace with $1 $2
Documentation : http://docs.notepad-plus-plus.org/index.php/Regular_Expressions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment