Difference between revisions of "Remove everything after a specific character"

From Tech-Wiki
Jump to: navigation, search
(Created page with "Category:Notepad++ '''Back to Useful Tips''' * In an open document * press '''Ctrl-F''' * Select the '''Replace''' tab * Set the search Mode to...")
 
Line 3: Line 3:
  
 
* In an open document
 
* In an open document
* press '''Ctrl-F'''
+
* press '''Ctrl-H'''
* Select the '''Replace''' tab
+
 
* Set the search Mode to '''Regular expression'''
 
* Set the search Mode to '''Regular expression'''
 
* In '''Find what:''' string write the following regex pattern
 
* In '''Find what:''' string write the following regex pattern

Revision as of 05:52, 20 July 2016

Back to Useful Tips

  • In an open document
  • press Ctrl-H
  • Set the search Mode to Regular expression
  • In Find what: string write the following regex pattern
 \<Charachter to find>.+
  • Leave the Replace with : string blank
  • Press Replace or Replace All