I’m trying to work out how to extract POP3 headers using this regex
^(?[a-zA-Z-]+)(?(?=:).+)$
Delivered-To: yer@ner.com
The group returns the ‘:’ character as well which I want to avoid. I’m busting trying to work this out but can’t.
Need collective wisdom 🙂
I would go with something like
Then you would have