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,040 community submitted regex patterns...
1
Regexp for IPv4 or IPv6 CIDR entry
PCRE2 (PHP >=7.3)
Helps to find IPv4 or IPv6 CIDR entry in any text.
Submitted by
anonymous
-
a year ago
1
Alpha Numeric With Spaces & Limited Punctuation
ECMAScript (JavaScript)
This allows multiple continuous strings of only alpha numeric characters & limiting punctuation to: ?().,'+ /:@-
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Thai Home Telephone Validation
PCRE2 (PHP >=7.3)
refer to https://mobile.kapook.com/view7358.html
Submitted by
Chadin Chaipornpisuth
-
a year ago
1
match "baseip/cidr"
PCRE2 (PHP >=7.3)
match "baseip/cidr"
Submitted by
Erik
-
a year ago
1
Simple scientific notation
PCRE2 (PHP >=7.3)
allowed: 123 123.234 123.234E13 +123.234E-412 -.234E-12
Submitted by
Romzikon
-
a year ago
1
Best email regex including + (plus) and everything else
PCRE2 (PHP >=7.3)
The best regular expression for emails, including the + (plus) sign for every possible valid email in 2023.
Submitted by
Jérôme Brunel
-
a year ago
1
Lua Syntax
PCRE2 (PHP >=7.3)
finds and replaces square bracketed string literals with period and the field name
Submitted by
Andrew Stevens
-
a year ago
(Last modified a year ago)
1
DSN parser
PCRE2 (PHP >=7.3)
Regex for DSN parsing
Submitted by
ZKelo
-
a year ago
(Last modified a year ago)
1
email
PCRE2 (PHP >=7.3)
list of email
Submitted by
anonymous
-
a year ago
1
Unity Version Major & Minor (e.g. 2023.3)
PCRE2 (PHP >=7.3)
Match Unity Version as "Major.Minor"."Patch"
Submitted by
anonymous
-
a year ago
1
goff
ECMAScript (JavaScript)
[ [ { "content": "_}24I:9t58Tu?m@e", "isParticipating": true, "groupNum": 0,...
Submitted by
anonymous
-
a year ago
1
[sample]
PCRE2 (PHP >=7.3)
sample regular expression
Submitted by
anonymous
-
a year ago
1
Authors with year reference
PCRE2 (PHP >=7.3)
Try to find the author of a sentence following the next format: (Author, year) (Author, year; Author, year)
Submitted by
Antonio García Maestre
-
a year ago
1
Gabon Phones
PCRE2 (PHP >=7.3)
Regex for Gabon phones (without +)
Submitted by
anonymous
-
a year ago
1
Spain Phones
PCRE2 (PHP >=7.3)
Regex for Spain phones (without +)
Submitted by
anonymous
-
a year ago
1
France Phones
PCRE2 (PHP >=7.3)
Regex for France phones (without +)
Submitted by
anonymous
-
a year ago
1
Australian Phones
PCRE2 (PHP >=7.3)
Regex for Australian phones (without +)
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Portuguese Phones
PCRE2 (PHP >=7.3)
Regex for Portuguese phones (without +)
Submitted by
anonymous
-
a year ago
1
Andorran Phones
PCRE2 (PHP >=7.3)
Regex for Andorran phones (without +)
Submitted by
anonymous
-
a year ago
1
Italian Phones
PCRE2 (PHP >=7.3)
Regex for Italian phones (without +)
Submitted by
anonymous
-
a year ago
1
...
284
285
286
287
288
...
902
Community Library Entry
0
Regular Expression
Python
r"
\b
(?:
if
|
for
|
while
|
else
|
else
\s
+
?
if
|
switch
)
\b
"
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago