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. Click
here
to read more.
Community Patterns
Search among 15,000 community submitted regex patterns...
0
Liste AUtocad Supprimer inutile
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Scintilla - Verkettung von Symbolen, namespaces, Types, Properties, Methoden
PCRE (PHP <7.3)
Scintilla nimmt Klammern () als nicht ein Teil eines Wortes
Submitted by
anonymous
-
4 years ago
0
Empty DIV Container
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
ANSIBLE VAULT PASSWORD
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
upload
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
M3U8 parsing
PCRE (PHP <7.3)
Extracts duration, title and uri from an M3U8 file, using correspoding named groups.
Submitted by
anonymous
-
4 years ago
0
Delete WI
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Assignment 1, part 2.2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
pa3 regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
mask pin in JSON/XML
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
act_mall导入
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
VP spoofed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
驗證資料夾路徑格試
ECMAScript (JavaScript)
驗證資料夾路徑
Submitted by
anonymous
-
4 years ago
0
Platform.sh Web Location RegEx Example #1
PCRE (PHP <7.3)
See Unit Tests
Submitted by
anonymous
-
4 years ago
0
Code Conventionen ro
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Postal Code FR
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Phone regex for => (789) 456-1230
PCRE (PHP <7.3)
(789) 456-1230
Submitted by
anonymous
-
4 years ago
0
bevprog path matching
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Input Validation - Stack Overflow
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Dice roll notation
ECMAScript (JavaScript)
Map operator, constants, number of dice, number of faces, exploding/imploding and selective dice notations
Submitted by
anonymous
-
4 years ago
1
...
591
592
593
594
595
...
750
US Zipcode Validator
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
[
1
-
9
]
|
0
(?!
0
{4}
)
)
\d
{4}
(?:
[
-
\s
]
\d
{4}
)?
$
/
ig
Open regex in editor
Description
Validation rule:
not empty
numeric only
allow "XXXXX", "XXXXX XXXX", or "XXXXX-XXXX"
first 5 digits cannot be "00000" (so "00000", "00000 XXXX" and "00000-XXXX" will be regected)
Submitted by
Zheyang Song
-
8 years ago