RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Email Header Extraction
Expression
((^(?<property>\S+):)|(\s(?<property>)))(?<value>.*)\n
Description
This expression mathes all email header items and their values from email source
Matches
X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
Non-Matches
a a a a
Author Rating: Not yet rated. Melih SARICA
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Bad regex
Name: P
Date: 3/13/2008 1:12:13 PM
Comment:
It is matching all lines in the message!...


Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials