How to remove everything after a certain character? (notepad++)
- press CTRL +Shift
- go to replace
- press on regular expression
- In the
Find what
write[|].*
- press Replace all
Do a find replace (replacing with nothing) this regex:
\|.*
See https://regexr.com/3rq9m for explanation.