Saturday, 16 April 2016

Remove Numbers ,special characters in a file using Notepad++

Replacing numbers with empty space
1)Ctrl+F 
 2)  Replace - Search mode: regular expression
 3)  Find What: [0-9]+
  4)Replace With:   (// Replace with is empty)


Replacing words with empty space or other words
1)Ctrl+F 
 2)  Replace - Search mode: regular expression
 3)  Find What:  Good morning
  4)Replace With:   Good night


Replacing special characters with empty space 
1)Ctrl+F 
 2)  Replace - Search mode: regular expression
 3)  Find What:  ;
  4)Replace With:   (empty )



Replacing  2 newlines (\n\n)  with 1 newline(\n) 
1)Ctrl+F 
 2)  Replace - Search mode: Extended(\n,\r,\t)
 3)  Find What: \n\n
  4)Replace With: \n

No comments:

Post a Comment