Remove everything after a specific character
From Tech-Wiki
- 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