Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
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)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,300 community submitted regex patterns...
4
JWT Validation
Created
·
2016-01-06 09:29
Flavor
·
PCRE (Legacy)
Validate a Json Web Token (JWT).
Submitted by
Erik Maas
4
kenteken validator
Created
·
2016-01-06 14:30
Flavor
·
PCRE (Legacy)
validator voor kenteken vb: 11-AA-BB
Submitted by
Senne Root
4
find uncommented coffeescript console.logs
Created
·
2016-01-18 01:52
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
valiafetisov
4
Version Matcher
Created
·
2016-01-25 18:44
Flavor
·
PCRE (Legacy)
Matches version strings.
Submitted by
anmols
4
extract domain with port
Created
·
2016-02-18 08:29
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
yooresh
4
Function Declaration / Expression
Created
·
2016-03-09 09:13
Flavor
·
ECMAScript (JavaScript)
matches both function declarations and expressions in javascript. ex. function name () {...} || function () {}
Submitted by
Ja Superior
4
DNS hostname well-formedness validation
Created
·
2016-03-10 19:44
Flavor
·
PCRE (Legacy)
Validates that a DNS hostname is well-formed only. You will still need to check that the overall length of the hostname, including the implied trailing "." (if not present), does not exceed 255 bytes.
Submitted by
Jeff Walter
4
MasterCard validate 2017
Created
·
2016-03-22 03:14
Flavor
·
PCRE (Legacy)
Match a MasterCard with new range for 2017: 51-55 and 2221-2720 @incarnated
Submitted by
John C
4
UK Postcode
Created
·
2016-04-04 13:37
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
msyed
4
Validate Argentinian postal code
Created
·
2016-05-28 13:57
Flavor
·
PCRE (Legacy)
Validates CPA (Código Postal Argentino, spanish for Argentinian Postal Code).
Submitted by
Agustín Bouillet
4
Validates argentinian postal code
Created
·
2016-05-28 14:05
Flavor
·
PCRE (Legacy)
Validates the two valid postal codes in Argentina
Submitted by
Agustín Bouillet
4
,(?=([^\"]*\"[^\"]*\")*(?![^\"]*\"))
Created
·
2016-05-31 12:17
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
4
remove blank keys in query string
Created
·
2016-07-03 12:36
Flavor
·
PCRE (Legacy)
looks for blank keys in the query string and remove it, in order to make shorter request.
Submitted by
M.Nizam
4
Credit Card Validation - MasterCard, Visa, Amex, Discover
Created
·
2016-07-09 21:06
Flavor
·
PCRE (Legacy)
MasterCard - ^5[1-5]\d+ Visa - ^4\d+ Amex - ^3[47]\d+ Discover - 6011|65|64...
Submitted by
Eric Foster
4
Campos Decimais (pt_br)
Created
·
2016-07-21 20:52
Flavor
·
ECMAScript (JavaScript)
Funciona para campos decimais para moeda nacional brasileira. Aceita números inteiros, separação por milhar e a separação decimal.
Submitted by
Murilo C. Cumerlatto
4
INI Parser
Created
·
2020-03-03 01:56
Flavor
·
PCRE (Legacy)
Created for purpose of reading an INI file in C# applications. Supports comments and comment escape characters. I plan to add more escape characters (such as \=). s - Section scp - Section Comment Prefix sc - Section Comment k - Key v - Value kvcp - KeyValue Comment Prefix kvc - KeyValue Comment cp - Comment Prefix c - Comment I am open to any suggestion that may improve upon this regex, and/or would allow me to learn more. Created by Raxdiam
Submitted by
Raxdiam
4
CloudFlare
Created
·
2021-06-29 16:27
Flavor
·
PCRE2 (PHP)
Cloud Flare
Submitted by
anonymous
4
Email
Created
·
2021-07-10 13:06
Flavor
·
PCRE2 (PHP)
email format control
Submitted by
ahmetbarut
12
Remove Special Ascii Characters from unicode String
Created
·
2015-03-12 11:00
Flavor
·
PCRE (Legacy)
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
12
Username with "_" "-"
Created
·
2015-10-16 15:44
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Gianvy
Previous page
1
…
4
5
6
7
8
…
915
Next page
Community Library Entry
0
Regular Expression
Created
·
2022-07-31 07:56
Flavor
·
PCRE2 (PHP)
/
#
(?!
[
\d
a
-
f
]
{6}
|
[
\d
a
-
f
]
{3}
)
.
{0,7}
/
gm
Open regex in editor
Description
匹配错误的颜色表达式
Submitted by
anonymous