Regular Expressions 101

Community Patterns

1

verificador de e-mail

PCRE2 (PHP >=7.3)
email
Submitted by almlt24 - 10 hours ago
1

pmsa_docx_replace

PCRE2 (PHP >=7.3)
pmsa_docx_replace
Submitted by anonymous - a day ago
1

http(s) address

PCRE2 (PHP >=7.3)
simple http(s) patter
Submitted by lhotakj - 2 days ago
1

my

PCRE2 (PHP >=7.3)
replace first line and second
Submitted by MH - 3 days ago
1

Parser

PCRE2 (PHP >=7.3)
for mail
Submitted by anonymous - 5 days ago
1

GrEedy

Python
greedy or no greedy_**
Submitted by daen3r1s - 6 days ago

Dyno warning regex

0

Regular Expression
Python

r"
(?:(?P<Date>(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d{1,2}, \d+ \d{1,2}:\d{1,2} AM|PM) (?P<WarnID>(?:[0-9a-f]|-)*) (?P<User>[a-zA-Z]+#[0-9]{4}) (?:\((?P<UserID>[0-9]+)\)) (?P<Moderator>[a-zA-Z]+#[0-9]{4}) (?P<WarnReason>(?:\s|\S)+))
"
gm

Description

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