Remove everything before a specific character

From Tech-Wiki
Revision as of 05:55, 20 July 2016 by Linogenco (Talk | contribs) (Created page with "Category:Notepad++ '''Back to Useful Tips''' * In an open document * press '''Ctrl-H''' * Set the search Mode to '''Regular expression''' * In...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


Explanation of Regular Expression

^ Beginning of the string

. Any character

+ One or more the previous character

[ ] One character of