Okies, here's my problem:
I have a header of an e-mail. It contains:
Content-Type: multipart/related;
type="multipart/related";
boundary="----=_NextPart_Blah";
when I try to pick it up with a preg match, it fails.
my requirements for this match are:
1: It must omit the 'Content-Type: ' portion
2: It must capture everything up to the end of a multi-line parameter (ie, keep going until you find a '\n' that is NOT preceeded by a ';')
This is what I've got so far:
/Content-Type:\s(.*?)[;]\n/i
I thought that would work, but it only returns false, so I'm pretty much lost..