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,400 community submitted regex patterns...
0
zyBooks Compare Output test with optional Input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Unit test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Alteryx challenge 20
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Parse line of csv data
PCRE (PHP <7.3)
This regex will parse a line of csv data, capturing each field.
Submitted by
anonymous
-
4 years ago
0
First characters in each line (in each paragraph)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
First characters in every word in the text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Every third (X + 1) character from the beginning of each word in the text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Every third (X + 1) character from the end of the word in every word in the text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
CP-Piana03
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
RGS30
PCRE (PHP <7.3)
MTN_AF
Submitted by
anonymous
-
4 years ago
0
Eastlink MIND v8 birthday changes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Remove empty line ➜ ^\s*[\r\n]
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
indent
ECMAScript (JavaScript)
(.+?)((\n\s.*)+)
Submitted by
anonymous
-
4 years ago
0
From the end till the first delimiter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
myfilter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Markdown code block
ECMAScript (JavaScript)
^({3}.\n\r?^{3})
Submitted by
anonymous
-
4 years ago
0
(?:github.com)(.*)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Trim line ➡︎ ^\s*(.*?)\s*$
PCRE (PHP <7.3)
Trim line
Submitted by
anonymous
-
4 years ago
0
start end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
regex #1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
611
612
613
614
615
...
770
Date with this format YYYY-MM-DD and year start 20 or 21
-4
Regular Expression
PCRE (PHP <7.3)
/
^
(
20
|
21
)
[
0
-
9
]
{2}
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)
$
/
date php
Open regex in editor
Description
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014
Submitted by
cisc0
-
10 years ago