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,000 community submitted regex patterns...
2
US and Canada Regex
ECMAScript (JavaScript)
A zipcode regex for validation of both US and Canada
Submitted by
Kyle M.
-
11 years ago
1
Switzerland UID id
PCRE (PHP <7.3)
matches the Swiss government's UID id for enterprises
Submitted by
marcel
-
11 years ago
0
decimal numbers
PCRE (PHP <7.3)
match decimal numbers with sign
Submitted by
mariano_dm
-
11 years ago
-2
Filter IP from beggin of log
PCRE (PHP <7.3)
no description available
Submitted by
W
-
11 years ago
-1
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-2
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
11
Address Check Validation
PCRE (PHP <7.3)
Check for true or false street address format
Submitted by
Dilip Borad
-
11 years ago
1
Replaces odd number of quotes with even number of quotes.
PCRE (PHP <7.3)
no description available
Submitted by
ingredient_15939
-
11 years ago
-2
Get text between quotes (ignore escaped ones)
PCRE (PHP <7.3)
http://stackoverflow.com/a/171499/1519058
Submitted by
Enissay
-
11 years ago
3
date time
Python
1/Jul/2013 03:27:12
Submitted by
himel
-
11 years ago
2
the the
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
help me please
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Find common version names in filenames
PCRE (PHP <7.3)
no description available
Submitted by
Jared
-
11 years ago
2
code bracket parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
adding space after (.) period and next word
ECMAScript (JavaScript)
Requirement was to check if there is space between . and next text and if not the then add space
Submitted by
Prajkta
-
11 years ago
2
US Postal Code
ECMAScript (JavaScript)
refactor
Submitted by
jay johnson
-
11 years ago
3
mm/dd/yyyy Date
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
0
Phone area code - prefix - number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
SSN
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
-2
non-negative integer
ECMAScript (JavaScript)
repeat ... refactor
Submitted by
jay johnson
-
11 years ago
1
...
893
894
895
896
897
...
900
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
0
-
9
]
{5}
(
-
[
0
-
9
]
{4}
)?
$
)
|
(
^
[
ABCEGHJKLMNPRSTVXY
]
{1}
[
0
-
9
]
{1}
[
A
-
Z
]
{1}
*
[
0
-
9
]
{1}
[
A
-
Z
]
{1}
[
0
-
9
]
{1}
$
)
/
zipcode
Open regex in editor
Description
A zipcode regex for validation of both US and Canada
Submitted by
Kyle M.
-
11 years ago