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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,020 community submitted regex patterns...
1
Commify
PCRE (PHP <7.3)
Add commas to numbers
Submitted by
Allen Ng
-
9 years ago
1
UK Postal Code
ECMAScript (JavaScript)
Match UK Postal Code
Submitted by
Michael R
-
9 years ago
1
Regex mail
PCRE (PHP <7.3)
Validatore php mail
Submitted by
anonymous
-
9 years ago
1
City and POstcode
PCRE (PHP <7.3)
Get city and postcode on the address string like input: 1 Amotherby Ln Amotherby Malton NORTH YORKSHIRE YO17 6TG UK output: NORTH YORKSHIRE YO17 6TG
Submitted by
Michael Ramirez
-
9 years ago
1
ABAP email checker
PCRE (PHP <7.3)
ABAP tested email regex checker
Submitted by
lol
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Zipball Version Substitution
PCRE (PHP <7.3)
no description available
Submitted by
Vivalldi
-
9 years ago
1
Can't be numeric only
ECMAScript (JavaScript)
It could be alphanumeric but should not be numeric only
Submitted by
anonymous
-
9 years ago
1
gps 103
ECMAScript (JavaScript)
gps103 gprs communication
Submitted by
anonymous
-
9 years ago
1
aaa
PCRE (PHP <7.3)
aaa
Submitted by
aa
-
9 years ago
1
lua
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
US Telephone number
ECMAScript (JavaScript)
Regex for validating us telephone number as per freecodecamp testcases-
Submitted by
Yashdeep Hinge
-
9 years ago
1
perl {if condition} {else} {/if}
PCRE (PHP <7.3)
no description available
Submitted by
Z
-
9 years ago
1
Chep/Loscam Transfers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Chep/Loscam ID Validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL Parse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
FDQN
ECMAScript (JavaScript)
no description available
Submitted by
Pratheesh ps
-
9 years ago
1
PHP URL Regex
PCRE (PHP <7.3)
no description available
Submitted by
Max Maxymenko
-
9 years ago
1
https://
PCRE (PHP <7.3)
no description available
Submitted by
VM
-
9 years ago
1
Get Email Address from string
ECMAScript (JavaScript)
no description available
Submitted by
Google
-
9 years ago
1
...
181
182
183
184
185
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
[
\t
]
*
(
[
0
]
|
(
[
-+
]
?
(
\d
*
\.
)?
\d
+
)
(
cm
|
mm
|
in
|
px
|
pt
|
pc
|
Q
|
em
|
ex
|
ch
|
rem
|
vw
|
vh
|
vmin
|
vmax
|
%
)
){1}
(
[
\t
]
+
(
[
0
]
|
(
[
-+
]
?
(
\d
*
\.
)?
\d
+
)
(
cm
|
mm
|
in
|
px
|
pt
|
pc
|
Q
|
em
|
ex
|
ch
|
rem
|
vw
|
vh
|
vmin
|
vmax
|
%
)
)
){0,3}
[
\t
]
*
$
/
gm
Open regex in editor
Description
Matches upto 4 length values for CSS properties like border-width.
Submitted by
DelD
-
3 years ago
(Last modified 3 years ago)