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,420 community submitted regex patterns...
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)
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)
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)
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)
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)
REGEX OS
Java 8
Regex para extrair titulo e descrição duma OS
Submitted by
anonymous
-
a year ago
2022-08-11 21:42
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)
长宽高
PCRE2 (PHP >=7.3)
长宽高
Submitted by
mouxan
-
a year ago
2022-08-11 06:46
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Match whitespace and colon, except in specific words
ECMAScript (JavaScript)
For string splitting / deconstructing
Submitted by
anonymous
-
a year ago
2022-08-10 15:21
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)
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)
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)
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)
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)
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)
Equifax street types parser
PCRE2 (PHP >=7.3)
Street types
Submitted by
anonymous
-
a year ago
2022-08-10 07:51
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
HTML Minifier
PCRE2 (PHP >=7.3)
https://stackoverflow.com/questions/5312349/minifying-final-html-output-using-regular-expressions-with-codeigniter Thanks to @Alan Moore
Submitted by
anonymous
-
a year ago
2022-08-10 05:37
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)
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)
multicast
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
a year ago
2022-08-09 08:05
1
...
89
90
91
92
93
94
95
...
871
match với a khi và chỉ khi nó không được theo sau bởi b
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
a
(?!
b
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-07-11 02:41