1
我需要正則表達式來從轉發的電子郵件中提取名稱和電子郵件,其中我想要解析的部分可能看起來像這樣(可能有些情況是缺少的,但這樣就足夠了爲開頭):正則表達式解析轉發消息的電子郵件正文
<[email protected]>, "''Steve Pierce''" <[email protected]>, "Alex" <[email protected]>, 'Chris Brown' <[email protected]>, 'Peter Smith' <[email protected]>, 'Andy McKay, Jr.' <[email protected]>
http://code.iamcal.com/php/rfc822/full_regexp.txt –