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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 11,820 community submitted regex patterns...
0
Most Common Email Verification
PCRE (PHP <7.3)
Simple Regex that matches most emails
Submitted by
anonymous
-
6 years ago
0
Find bash function
PCRE (PHP <7.3)
Useful for Visual Code Studio (Show Functions extension)
Submitted by
anonymous
-
6 years ago
0
Negative Lookbehind (?<!jeffery)@.+
PCRE (PHP <7.3)
Simple lookbehind - only selects what is after the @ IF what comes before is NOT 'jeffery' From this guys video https://www.youtube.com/watch?v=aIEjh0YsxWA&t=1s
Submitted by
anonymous
-
6 years ago
0
Positive Lookbehind (?<=jeffery@).+
PCRE (PHP <7.3)
Simple Positive Lookbehind - only selects what is after the @ IF what comes before IS 'jeffery' Based on this (awesome) guys https://youtu.be/aIEjh0YsxWA?t=228
Submitted by
anonymous
-
6 years ago
0
Positive Lookahead box(?=-shadow)
PCRE (PHP <7.3)
Simple positive Lookahead - Select 'box' only if what comes after is '-shadow' See this youtube https://youtu.be/aIEjh0YsxWA?t=228
Submitted by
anonymous
-
6 years ago
0
Negative Lookahead (?!)
PCRE (PHP <7.3)
Selects box only if what comes after is NOT -shadow
Submitted by
anonymous
-
6 years ago
0
parse file git
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
newPassword
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Hugo Get Tables
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Find between <p> ??? </p>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Paragraph search;
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
extract domain from URL
PCRE (PHP <7.3)
Extracts "example" from URLs like "http://www.example.com"
Submitted by
victorocn
-
6 years ago
0
Get tokenized
PCRE (PHP <7.3)
Get tokenized document number
Submitted by
anonymous
-
6 years ago
0
case2
PCRE (PHP <7.3)
RegEx case2
Submitted by
anonymous
-
6 years ago
0
DSE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Alphanumeric and -_*+.,
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Validar correo electronico
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
regex for spherical
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Find URLs (incl. Numerical)
PCRE (PHP <7.3)
Search text for any URL, including numerical IPs and greater than 3 char domain extensions. Also searches for http(s) alone, include with a third slash, as I ran into scumbag Russian spammers who were doing this.
Submitted by
J. Scott Elblein
-
6 years ago
0
HTTP ETag header match (RFC7232)
PCRE (PHP <7.3)
HTTP ETag header match (RFC7232) HTTP ETag RFC specification: https://tools.ietf.org/html/rfc7232#section-2.3
Submitted by
anonymous
-
6 years ago
1
...
91
92
93
94
95
...
591
match invalid postcode
0
Regular Expression
Python
r"
^
(
(
\D
*
)
|
(
.
{0,4}
)
|
(
.
{6,}
)
|
(
00000
)
|
(
\D
+
\d
+
.
*
)
|
(
\d
+
\D
+
.
*
)
)
$
"
Open regex in editor
Description
match as long as not 5digit code
Submitted by
anonymous
-
9 years ago