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 15,200 community submitted regex patterns...
0
iOS Chinese String
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Europe - Czech Republic - - TIN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Europe - Cyprus - - TIN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Europe - Sweden - - SSN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Europe - Spain - - SSN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Europe - Estonia - - National ID Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
North America - United States - Illinois - Driver's License
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
North America - United States - Hawaii - Driver's License
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
North America - United States - Florida - Driver's License
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Age (in combination)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Gender (all derivations)Gender (all derivations)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Digital Identity - screen name, handle, login, nickname
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
IP Address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Bank Account
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Dept. of Defense ID #
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
North America - United States - Louisiana - Driver's License
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Credit Card #
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
State ID #
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
National ID #National ID #National ID #
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Email Addresses
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
528
529
530
531
532
...
760
TCP/UDP port number
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
[
1
-
9
]
\d
{0,3}
|
[
1
-
5
]
\d
{4}
|
6
[
0
-
4
]
\d
{3}
|
65
[
0
-
4
]
\d
{2}
|
655
[
0
-
2
]
\d
|
6553
[
0
-
5
]
)
)
$
/
Open regex in editor
Description
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
9 years ago