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...
0
UK Postcode Checker
ECMAScript (JavaScript)
Checks for valid UK/British postcodes. A modified version of MaffooBristol's pattern that prevents a non-whitespace character being entered in between the two sections of the postcode. Works in PHP/JS ...
Submitted by
anonymous
-
8 years ago
0
filestore directory
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
filestore filename
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Whatsapp Chat Regex
Python
This is a Regex to the Whatsapp chat data. This parses the G1 - Date, G2 - Time, G3 - User, G4 - Qualifier & G5 - Actual chat data. The Qualifier (G4) identifies the group Creation information, : that separates the User and Ping chat data and New user added chats.
Submitted by
Vinodh Sukumaran
-
8 years ago
0
Removes indexterm from html
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Enclose <div> tag with <p> tag when inside <p> tag
PCRE (PHP <7.3)
Change the tags only when they are within a tag.
Submitted by
LukStorms
-
8 years ago
0
domains
Python
no description available
Submitted by
anonymous
-
8 years ago
0
email validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
JSON Matching
ECMAScript (JavaScript)
Match numerical value of a JSON key. Numbers only 3-9
Submitted by
anonymous
-
8 years ago
0
decimal_to_frac
Python
Convert .5 in all its forms to 1/2
Submitted by
Brett Tofel
-
8 years ago
0
WhatsApp Message Regex
ECMAScript (JavaScript)
A regex to parse WhatsApp conversation files
Submitted by
anonymous
-
8 years ago
0
Timestamp recognizer, extracts hours minutes seconds
Python
Recognizes time-of-day timestamps Time range is from 0:00:00 through 23:59:59 Seconds are optional Named match components for hours, minutes, seconds
Submitted by
Paul Reiber
-
8 years ago
0
sent from my <phone>
Python
for catching phone generated message such as "sent from my"
Submitted by
anonymous
-
8 years ago
0
Basic Unmarked Phone Number Regex
PCRE (PHP <7.3)
1112223333
Submitted by
Wolf1098
-
8 years ago
0
Phone number
ECMAScript (JavaScript)
A good enough, nonrigorous expression
Submitted by
rchfox
-
8 years ago
0
Perez request
PCRE (PHP <7.3)
See email.
Submitted by
anonymous
-
8 years ago
0
File Name (Windows)
ECMAScript (JavaScript)
Valid windows file name.
Submitted by
anonymous
-
8 years ago
0
IPv4 address with description
Python
Match an IPv4 address and its description delimited by a 'newline' paragraph
Submitted by
edoz90
-
8 years ago
0
url decoders
PCRE (PHP <7.3)
no description available
Submitted by
Sigvald
-
8 years ago
0
Email Validation
PCRE (PHP <7.3)
Email validation according to RFC standards
Submitted by
Colton T.
-
8 years ago
1
...
55
56
57
58
59
...
902
Community Library Entry
0
Regular Expression
Python
r"
^
\[
\s
*
(
\s
*
(
\s
*
\[
\s
*
(
[
1
-
9
]
[
0
-
9
]
*
\s
*
,
\s
*
)*
[
1
-
9
]
[
0
-
9
]
*
\s
*
\]
\s
*
,
\s
*
)*
\[
\s
*
(
[
1
-
9
]
[
0
-
9
]
*
\s
*
,
\s
*
)*
[
1
-
9
]
[
0
-
9
]
*
\s
*
\]
\s
*
)?
\]
$
"
gm
Open regex in editor
Description
List of lists of numbers (no leading zeros)
Submitted by
anonymous
-
2 years ago