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
Community Patterns
Search among 3,620 community submitted regex patterns...
2
Portuguese phone numbers
ECMAScript (JavaScript)
Matches Portuguese phone numbers.
Submitted by
github.com/luis140219
-
9 years ago
2
Date between 1950 and 2050
ECMAScript (JavaScript)
Date in format MM-dd-yyyy
Submitted by
Daniel Quijada
-
8 years ago
2
replace any character with more than two occurrence
ECMAScript (JavaScript)
no description available
Submitted by
papky
-
8 years ago
2
word before :
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
fffs
ECMAScript (JavaScript)
dfsfd
Submitted by
anonymous
-
8 years ago
2
US datetime
ECMAScript (JavaScript)
Validates a US mm-dd-yy(yy) with an optional hh:mm:ss time.
Submitted by
anonymous
-
8 years ago
2
Regex tutorial
Java 8
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
-
4 years ago
(Last modified 9 months ago)
2
Regex for real number
ECMAScript (JavaScript)
this regex can detect any real number whether it is signed or unsigned.plus it can detect real number both with and without floating point aka '.'.the numbers should be decimal number
Submitted by
Adnan nabib
-
3 years ago
2
CSS Colors: RGB(A), HSL(A), HEX(3,4,6,8), var(--tw-color), etc...
ECMAScript (JavaScript)
Versatile, multiline matching of CSS colors of many common formats, including: [x] HEX-3: #123 (equivalent to #112233) [x] HEX-4: #FA0F ( ... #FFAA00FF) [x] HEX-6: #FF3300 ( ...#F30) [x] HEX-8: #FFAA00FF ( ...#FA0F)...
Submitted by
Nicholas Berlette (@nberlette)
-
2 years ago
2
URI Parser
ECMAScript (JavaScript)
A simple parser to exact all the components of a URI/URL as named groups
Submitted by
Vespion
-
10 months ago
(Last modified 10 months ago)
2
JavaScript trim string
ECMAScript (JavaScript)
Trim leading/trailing space on a string: do not use /gm flags. Trim each line of a multiline string: use the /gm flag.
Submitted by
https://github.com/naomik
-
10 years ago
2
haml attribute parsing
ECMAScript (JavaScript)
no description available
Submitted by
OnlineCop
-
10 years ago
2
filename split 2
ECMAScript (JavaScript)
no description available
Submitted by
Miloš Ratković
-
10 years ago
2
full asshole
ECMAScript (JavaScript)
no description available
Submitted by
alex
-
10 years ago
2
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
9 years ago
2
Email validation
ECMAScript (JavaScript)
Very crude, but effective email validation.
Submitted by
Ryan Oaks
-
9 years ago
2
Spanish telephone number
ECMAScript (JavaScript)
Teléfonos del territorio de España. Se admiten teléfono de 9 cifras que empiecen por 9, 7 ó 6. Opcionalmente puede tener el prefijo de país siendo válidas las siguientes opciones: (+34) (0034) +34 0034 ...
Submitted by
toyeca
-
9 years ago
2
SSN
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
password 1upper 1lower 1number 1specialcharater
ECMAScript (JavaScript)
fjk@1Qaa$
Submitted by
Anuswadh
-
8 years ago
2
Removes script tags
ECMAScript (JavaScript)
no description available
Submitted by
ghs
-
8 years ago
1
...
11
12
13
14
15
...
181
First Name or Last Name
1
Regular Expression
ECMAScript (JavaScript)
/
^
[
A
-
Z
]
{1}
[
a
-
z
]
{2,15}
\s
[
A
-
Z
]
{1}
[
a
-
z
]
{2,15}
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago