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 15,100 community submitted regex patterns...
1
name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Perl search exclude tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
TLO con multiples UPLOAD
Python
no description available
Submitted by
anonymous
-
7 years ago
1
Splunk - Masking data (SIM Card Example)
PCRE (PHP <7.3)
Splunk - Masking Data Uses defensive logic to account for data changes & supports Splunk Schema on Fly!
Submitted by
Tony Nesavich
-
7 years ago
1
byline
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2
check name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
show inv (not for complex)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
show inventory Partial)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Asadasdsd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
My regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2
Ansible Host Var checking
Python
We had an issue where the "hosts=some_var" value could cause mass deployments if the wrong value was passed through. Specifically a comma with nothing surrounding it (i.e. "hosts=,"). This regex will allow us to fail when certain characters are present.
Submitted by
anonymous
-
7 years ago
1
descr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
images
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
content
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
price
PCRE (PHP <7.3)
no description available
Submitted by
marina
-
7 years ago
0
title
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
rcf
PCRE (PHP <7.3)
drcfkjr
Submitted by
me
-
7 years ago
0
Sku from filename
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Everything until
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
get rid of closing html tags
PCRE (PHP <7.3)
Example: RegEx: \W\W[[:lower:]]+\W Provides full match
Submitted by
h0neybadg3r
-
7 years ago
1
...
464
465
466
467
468
...
755
Outode
1
Regular Expression
PCRE (PHP <7.3)
/
(
\w
{1,2}
\d
{1,2}
)
(?:
.
+
)
/
Open regex in editor
Description
Capture the outcode portion (first half) of a UK Post Code.
Submitted by
Nike Begbaaji
-
8 years ago