Regular Expressions 101

Library entries

Extract email client inserted reply line "On <DATE>, <SENDER> wrote:"

Vote

1

Regular Expression
pcre

/
^>(?:.|\s>)*<[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}>(?:.|\s)*?:
/
gm

Description

Loading markdown...
Submitted by Vlad Burca - 7 years ago