Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,000 community submitted regex patterns...
1
Get the extension of file
ECMAScript (JavaScript)
Get the extension of file
Submitted by
Taffarel Xavier
-
10 years ago
0
fsd
PCRE (PHP <7.3)
fsdfsd
Submitted by
anonymous
-
10 years ago
1
Inverse Match
Python
inverse match letters, numbers, and underscores
Submitted by
anonymous
-
10 years ago
1
match only an #endif where no wordcharacter is following(multiline)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
eee
PCRE (PHP <7.3)
eee
Submitted by
eee
-
10 years ago
-2
Detect DNS Zones with Authoritative Nameservers
PCRE (PHP <7.3)
This can be used to find all zone files that contain authoritative nameservers - e.g. perl -ne 'print if /^([\w.]+\.)\s+.+\sNS\s.+\1/' /var/named/*.db | awk '{print $1}' | sort | uniq
Submitted by
Santrix
-
10 years ago
-2
last, first middle name parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
does this work dms?
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Meow
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
mceItem_breakpoint
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
mceItem_breakpoint2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Test Balanced Parentheses
PCRE (PHP <7.3)
no description available
Submitted by
Me
-
10 years ago
1
always greedy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Remove repetitions from plain array
PCRE (PHP <7.3)
Remove repeated elements from a plain JSON array.
Submitted by
Icaro Niz
-
10 years ago
1
Validate mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Single xml tag close to separated
ECMAScript (JavaScript)
the tag must be a minumum of 3 characters long so we don't catch any BR, HR, etc.
Submitted by
Agent Codesmith
-
10 years ago
1
SelfMon Filter User & Group
PCRE (PHP <7.3)
Filter selfmon events by user and group using the r= switch. The full filter is entered as: r=/(?=.FULL SET USER1)(?=.Grp= 1)/ms
Submitted by
SelfMon
-
10 years ago
0
1
PCRE (PHP <7.3)
1
Submitted by
1
-
10 years ago
1
...
96
97
98
99
100
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\w
+
@
\w
+
\.
\w
+
/
gm
Open regex in editor
Description
Matches email.
Submitted by
cool66
-
2 years ago