Regular Expressions 101

Community Patterns

0

分组

ECMAScript (JavaScript)
显示分组
Submitted by Jason - 2 years ago

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

1

Regular Expression
PCRE (PHP <7.3)

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

Description

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