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...
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Add TAB after first Comma
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
text after last slash in url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
IDE: Identifying comments
PCRE (PHP <7.3)
Building a Smart IDE: Identifying comments
Submitted by
anonymous
-
7 years ago
0
Find Program Java
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
HP REGEX
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Vertices array to graph data for graph algorithms
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Strip html tags
Python
no description available
Submitted by
anonymous
-
7 years ago
0
alt days regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
only numbers csv
ECMAScript (JavaScript)
regex to match an only numbers csv
Submitted by
anonymous
-
7 years ago
0
test altDays
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
test altDays
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
sysfs wwid
PCRE (PHP <7.3)
Expression for linux sysfs wwid parse (/sys/block/sda/device/wwid)
Submitted by
Edgar Cherkasov
-
7 years ago
0
MyMaths Tokens
ECMAScript (JavaScript)
no description available
Submitted by
Sriram R
-
6 years ago
0
find javascript css html links in html content
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Parsing json to split between names, values and delimiting characters
PCRE (PHP <7.3)
Splits json into 2 groups - values and delimiters of objects, arrays, pairs, names, values
Submitted by
GigaMacRex
-
7 years ago
0
格式化
PCRE (PHP <7.3)
数字格式化,匹配没3位的空格
Submitted by
anonymous
-
7 years ago
0
Detecting Valid Latitude and Longitude Pairs
PCRE (PHP <7.3)
Detecting Valid Latitude and Longitude Pairs HackerRank
Submitted by
anonymous
-
7 years ago
0
LPS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
add thousands to number
PCRE (PHP <7.3)
%# 1. create your formated string x = 12345678; str = sprintf('%d',x) %# 2. use regexprep to add commas %# flip the string to start counting from the back...
Submitted by
anonymous
-
7 years ago
1
...
56
57
58
59
60
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
(
(?:
19
|
20
)
\d
{2}
)
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
0
[
1
-
9
]
|
[
12
]
[
0
-
9
]
|
3
[
01
]
)
\b
/
gm
Open regex in editor
Description
\b((?:19|20)\d{2})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])\b
Submitted by
Ziuzhang
-
a year ago