Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 17,000 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
estoque_bling_regex
PCRE2 (PHP >=7.3)
Regex xml stock Bling
Submitted by
Dimitri
-
a year ago
2022-08-09 12:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
stage build checker
PCRE2 (PHP >=7.3)
stage build checker
Submitted by
anonymous
-
a year ago
2022-08-09 21:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Equifax street types parser
PCRE2 (PHP >=7.3)
Street types
Submitted by
anonymous
-
a year ago
2022-08-10 07:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date dd.mm.yyyy
PCRE2 (PHP >=7.3)
Regex for datestring validation
Submitted by
anonymous
-
a year ago
2022-08-10 08:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NextJS Compiler - reactRemoveProperties
PCRE (PHP <7.3)
Match Test Properties This regular expression is used on next.config.js and is used to remove test attributes from the production build. It filters any data attributes that starts with 'test', 'cy' or 'jest'. ...
Submitted by
Patrick Fantato <patrick@madebyon.com>
-
a year ago
2022-08-10 09:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AWS EC2 Hostname
PCRE2 (PHP >=7.3)
Validates AWS EC2 Hostnames
Submitted by
holy-moly-555
-
a year ago
2022-08-10 10:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Laravel all routes, except some
PCRE2 (PHP >=7.3)
When creating a SPA we could capture all routes except some. Needed this for Laravel Route::get('/{any?}', function () { return 'Not captured';...
Submitted by
aldo-f
-
a year ago
2022-08-10 14:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
implements Regex
PCRE2 (PHP >=7.3)
To match implements in classes
Submitted by
anonymous
-
a year ago
2022-08-10 14:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match extends in a class
PCRE2 (PHP >=7.3)
to match extends in a class
Submitted by
anonymous
-
a year ago
2022-08-10 15:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
长宽高
PCRE2 (PHP >=7.3)
长宽高
Submitted by
mouxan
-
a year ago
2022-08-11 06:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
KPI Dash Drop-In Image Compliance
Python
This regex is designed for end users to test if there image file is name compliant.
Submitted by
Jeremiah Carlson
-
a year ago
2022-08-11 16:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password
PCRE2 (PHP >=7.3)
Password includes a,A,1,!$#%
Submitted by
anonymous
-
a year ago
2022-08-11 23:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
All kinds of stupid Content-Types
PCRE2 (PHP >=7.3)
Some applications send incorrect HEADERS:Content-Type. If it needs to pass the checks (for example, on WAF) this regex maybe used
Submitted by
anonymous
-
a year ago
2022-08-12 05:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email input validation
ECMAScript (JavaScript)
Regex to validate an email input with the following rules... Whole address: Up to 254 characters. Case insensitive. Username and domain separated by @ symbol....
Submitted by
chCharly
-
a year ago
2022-08-14 00:56
(Last modified a year ago)
2022-08-14 01:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv4 input field validator
PCRE (PHP <7.3)
Use It for partial/complete IPv4 address input text checking. OK examples: 19 / 192. / 192.168.1 / 192.168.1.1 / 0.0.0.0 KO examples: 1A / 01 / 192.168..1
Submitted by
José Luis García Morillo
-
a year ago
2022-08-12 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match any number greater than 14 using regexp
ECMAScript (JavaScript)
Any number greater than 14 means: Any number with 3 or more digits with possible leading 0's Any number with 2 digits where the first digit in in the character class [2-9] Any number with 2 digits where the first digit is 1 and the second digit in in the character class [5-9] Inspired by:...
Submitted by
anonymous
-
a year ago
2022-08-12 16:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel Case - no digits allowed
PCRE2 (PHP >=7.3)
To be proper camel case a word with no digits allowed, a word: MUST start with a lower case alphabet (a through z) MUST have no digits (0 - 9) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row MAY end in an uppercase alphabet...
Submitted by
roubles
-
a year ago
2022-08-12 21:09
(Last modified a year ago)
2022-08-13 13:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel Case - digits allowed
PCRE2 (PHP >=7.3)
To be proper camel case (with digits allowed) a word: MUST start with a lower case alphabet (a through z) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row MAY end in an uppercase alphabet...
Submitted by
roubles
-
a year ago
2022-08-13 15:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pascal Case - no digits allowed
ECMAScript (JavaScript)
To be proper pascal case with no digits allowed, a word: MUST start with an upper case alphabet (A through Z) MUST have no digits (0 - 9) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row CAN end in an uppercase alphabet...
Submitted by
anonymous
-
a year ago
2022-08-12 21:25
(Last modified a year ago)
2022-08-12 21:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pascal Case - digits allowed
ECMAScript (JavaScript)
To be proper pascal case a word with digits allowed and with upto 3 upper case letters, a word: MUST start with an upper case alphabet (A through Z) MUST have no digits (0 - 9) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row CAN end in an upperca...
Submitted by
anonymous
-
a year ago
2022-08-12 21:35
1
...
786
787
788
789
790
791
792
...
850
seasons
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(?'id'
02
)
_
(?'code'
\w
{3}
)
_
(?'heatingvalue'
H
|
L
)
_
(?'type'
SE
)
(?'offset'
[
1
-
9
]
[
0
-
9
]
?
)
_
(?'derivative'
PHY
|
FUT
)
(?'period'
SWS-
)
(?'yearfull'
\b
20
(?'yearabbr'
1
[
4
-
9
]
|
[
2
-
9
]
[
0
-
9
]
)
\b
)
-
\b
(?'month'
0
[
4
]
|
1
[
0
]
)
\b$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
9 years ago
2014-08-26 12:21