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 5,980 community submitted regex patterns...
0
Escape sequence
ECMAScript (JavaScript)
Matches on escape sequences only. \b Backspace \f Form Feed \n New Line \r Carriage Return \t Horizontal Tabulator...
Submitted by
anonymous
-
2 years ago
0
hex string split by blank
ECMAScript (JavaScript)
match like aa bb cc dd ee ff 00 aa 13 0 1 2 3 aa
Submitted by
Victor Lin
-
2 years ago
0
International Standard Book Number
PCRE2 (PHP >=7.3)
This pattern checks for the format according to the International ISBN Agency standard e.g. '978-3-16-148410-0'. Source: https://www.oreilly.com/library/view/regular-expressions-cookbook/9781449327453/ch04s13.html. NOTE: it does not validate if it is an actual ISBN number. It only validates the format.
Submitted by
Regular Expressions Cookbook, 2nd Edition by Jan Goyvaerts, Steven Levithan
-
2 years ago
0
Captures everything until the first hashtag
ECMAScript (JavaScript)
This captures everything from the start until the first hashtag.
Submitted by
Praeses
-
2 years ago
0
password complexity pattern
ECMAScript (JavaScript)
be at least 8 characters with at least 1 Capital , 1 Lowercase , 1 special char , 1 number
Submitted by
founet
-
2 years ago
0
get numbers removing zeros from left
ECMAScript (JavaScript)
oq?
Submitted by
anonymous
-
2 years ago
0
Nginx rewrite rule to match all urls except .well-known (letsencrypt challenge validation)
PCRE2 (PHP >=7.3)
Will match typical urls such as: / /somepage /some/nested/page Will not match URLs starting with...
Submitted by
anonymous
-
2 years ago
0
Password
PCRE2 (PHP >=7.3)
Vérifie si le mot de passe contient Entre 8 - 50 caractères 1 majuscule 1 minuscule 1 symbole
Submitted by
anonymous
-
2 years ago
0
match mail adress
PCRE2 (PHP >=7.3)
match mail adress
Submitted by
anonymous
-
2 years ago
0
Calcul detect
PCRE2 (PHP >=7.3)
Find operation in string (used in my personnal project)
Submitted by
anonymous
-
2 years ago
0
Messages
ECMAScript (JavaScript)
Show messages
Submitted by
Bot
-
2 years ago
0
Search for strings being used as booleans
PCRE2 (PHP >=7.3)
We had an issue wherein people were attempting to use strings as booleans in JavaScript. E.G.: return ( {thisIsAString && ... )...
Submitted by
Nedron
-
2 years ago
0
Russian phone
PCRE2 (PHP >=7.3)
Russian phone regex
Submitted by
Gor Sargsyan
-
2 years ago
0
regex_honoraires_prix
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 years ago
0
hashcode #15849
ECMAScript (JavaScript)
정규식 예제
Submitted by
anonymous
-
2 years ago
0
regex_honoraires_vf_2
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 years ago
0
regex_honoraires_vf_3
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 years ago
0
String literals
ECMAScript (JavaScript)
Matches string literals and contained escape sequences.
Submitted by
anonymous
-
2 years ago
0
match one or more contiguous white space characters
ECMAScript (JavaScript)
match one or more contiguous white space characters in a string. can be used in JS, for example, to replace any white space characters (tab, space, newline), as well as multiple contiguous WS chars, with a single space character. var text = “1 2 \t \n 3”; text = text.replace(/\s+/g, ' '...
Submitted by
anonymous
-
2 years ago
0
Email Regex
PCRE2 (PHP >=7.3)
email regex
Submitted by
anonymous
-
2 years ago
1
...
231
232
233
234
235
...
299
Nr2000 RegExp
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
-
9
]
\.
{0,1}
[
0
-
9
]
{3}
\.
{0,1}
[
0
-
9
]
{2}
\.
{0,1}
\.
{0,1}
[
0
-
9
]
\-
{0,1}
\.
{0,1}
[
0
-
9
]
{1,4}
\.
{0,1}
\_
{0,1}
[
0
-
9
]
{0,2}
$
/
gm
Open regex in editor
Description
Regular exporession for Nr2000 validation
Submitted by
anonymous
-
2 years ago