Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help extracting email address from email header X-RCPT-TO:

Status
Not open for further replies.

CJWilson3759

Programmer
Mar 3, 2004
3
US
I Need help with regular expression to pull the email address from email header. The email header contains lots of text. I need to get the email address following
X-RCPT-TO: <sender@address.com>

I've tried #ReFind("[X-RCPT-TO: <]*[>]",header)# and that didn't work because I don't understand how to write regular expressions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top