Friday 27 January 2017

Removing digits ,spaces in notepad ++

Ctrl+F - Replace - Search mode: regular expression
Find What: [0-9]+
Replace With:
// Replace with is empty

--------------------------------------------------------------------------------
Open the find and replace dialog (press CTRL+F).
Then select Regular expression in the 'Search Mode' section at the bottom.
In the Find what field enter this: [\r\n]+
In the Replace with
There is a space after the comma.

-----------------------------------------------------------------------------------

^[0-9]*\.\ (.*)
-------------------------------

Ctrl-H - shows replace.
Ensure that 'regular expression' is on.
Use ^[0-9]+
Note begging ^ used to mark begin of line. Remove it if need remove all numbers