Regular Expressions 101

Community Patterns

1

loyal

PCRE2 (PHP >=7.3)
loyal
Submitted by anonymous - 10 hours ago
1

named capture

PCRE2 (PHP >=7.3)
simple named capture
Submitted by Gene - a day ago
1

extract url

PCRE2 (PHP >=7.3)
extract url
Submitted by anonymous - 14 days ago

Author cite

0

Regular Expression
Python

r"
((?P<fname>[A-Za-zåé]+ ?[A-Za-zåé]+\.? ?)+ (?P<lname>[A-Za-zåé]+\.? ?))(?:(?:\d+,)+ ?)?
"
gm

Description

Loading markdown...
Submitted by anonymous - 9 months ago