Jump to content
Toggle menu
  • 51 articles
  • 24 files
  • 4 users
  • 750 edits
Tech-Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Remove everything before a specific character

From Tech-Wiki


Technical reference for Remove everything before a specific character.

Reference

  • In an open document
  • press Ctrl-H
  • Set the search Mode to Regular expression
  • In Find what: string write the following regex pattern
 ^.+[<Character 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

See also