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 3,440 community submitted regex patterns...
-1
Sri Lankan NIC Regex
ECMAScript (JavaScript)
Regular Expression to validate NIC of Sri lankna (National Identity Card)
Submitted by
Sithira Munasinghe
-
8 years ago
1
Matching a URL
ECMAScript (JavaScript)
no description available
Submitted by
Vasili
-
8 years ago
1
Remove HTML
ECMAScript (JavaScript)
no description available
Submitted by
https://github.com/Edux87
-
8 years ago
1
not a string
ECMAScript (JavaScript)
no description available
Submitted by
cmolter
-
8 years ago
1
SWIFT code
ECMAScript (JavaScript)
no description available
Submitted by
Mark Byers
-
8 years ago
1
regexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
Number or Range
ECMAScript (JavaScript)
Allows either a number (e.g. "1", "1.01") or a range (e.g. "1-2", "1.0 - 1.3"). Also allows whitespace on either side of the numbers.
Submitted by
Mark Newcomb
-
8 years ago
1
tags
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Expression for -1 to infinite
ECMAScript (JavaScript)
no description available
Submitted by
Nitin Zajam
-
8 years ago
1
matching sql input
ECMAScript (JavaScript)
no description available
Submitted by
mee
-
8 years ago
1
Only first name and last name
ECMAScript (JavaScript)
No numbers, no special characters, no triple (or more) repeating characters
Submitted by
ranst
-
8 years ago
1
GettyImages links
ECMAScript (JavaScript)
capture image id from a variety of gettyimages links
Submitted by
Ahmed Hassanein
-
8 years ago
1
Port & Port rage regex
ECMAScript (JavaScript)
Matches port and port range max to 2^16. Match: 1 2 3 99...
Submitted by
Dan
-
8 years ago
3
Markdown link rewriting
ECMAScript (JavaScript)
A regular expression which finds all instances of markdown links and helps with rewriting link paths.
Submitted by
Will Vaughn
-
8 years ago
1
phone number italy
ECMAScript (JavaScript)
phone number with country prefix (+ or 00) and phone number with spaces and special characters allowed
Submitted by
bux
-
8 years ago
1
4444
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Get all accessibility attributes
ECMAScript (JavaScript)
Get all aria- attributes from html string.
Submitted by
David Aguilar
-
8 years ago
1
Email validation
ECMAScript (JavaScript)
no description available
Submitted by
phatnguyen.tit
-
8 years ago
1
Windows Machine Name
ECMAScript (JavaScript)
Implements https://support.microsoft.com/en-us/kb/909264
Submitted by
Daniel Fisher (lennybacon)
-
8 years ago
1
slack command
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
...
112
113
114
115
116
...
172
Community Library Entry
3
Regular Expression
Python
r"
(
0
?
[
1
-
9
]
|
1
[
0
-
2
]
)
\/
(?:
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
)
\/
(
1
|
2
)
[
0
-
9
]
{3}
\s
(
(
0
|
1
)
[
0
-
9
]
|
2
[
0
-
3
]
)
:
(
[
0
-
5
]
[
0
-
9
]
)
:
(
[
0
-
5
]
[
0
-
9
]
)
"
Open regex in editor
Description
1/Jul/2013 03:27:12
Submitted by
himel
-
11 years ago