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,020 community submitted regex patterns...
1
Find UnCommented Console. Code
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
11 years ago
-2
A masz!
PCRE (PHP <7.3)
no description available
Submitted by
Ja
-
11 years ago
-2
failed attempt
PCRE (PHP <7.3)
no description available
Submitted by
DynV
-
11 years ago
1
Test Listing Parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
Ukazka
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Strip ANSI escape characters
Python
no description available
Submitted by
anonymous
-
11 years ago
-2
Remove empty HTML tags
PCRE (PHP <7.3)
Removes empty HTML tags. Was needed for old input clean-up and to keep a HTML parses from crashing. Looking for improvement on bottom test.
Submitted by
R. Sartorius
-
11 years ago
3
Task 2, part 1
PCRE (PHP <7.3)
Finds all source numbers in square brackets
Submitted by
Kovalev Evgeny
-
11 years ago
4
Task 1
PCRE (PHP <7.3)
Finds a happy smile, except sad one
Submitted by
Kovalev Evgeny
-
11 years ago
1
Task 1
PCRE (PHP <7.3)
no description available
Submitted by
Kovalev Evgeny
-
11 years ago
1
srt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
11 years ago
1
example regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
parse SQL statements and get values
PCRE (PHP <7.3)
but it does not work. How do I make it work? It will be used in C#
Submitted by
anonymous
-
11 years ago
1
match up to -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Improved regex101 ID grabber (fixed)
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
0
IMAP Status Response with MESSAGE and UNSEEN count
PCRE (PHP <7.3)
Matches the folder name (as IMAP ATOM, Quoted String or Literal String) and folder message total and unseen count.
Submitted by
Mike Johnson
-
11 years ago
1
a^n b^n
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
1
Divisible by 3 numbers
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
1
Phone numbers matcher
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
1
...
893
894
895
896
897
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
0
[
1
-
9
]
|
1
\d
|
2
[
1
-
8
]
|
29
(?=
-
\d\d
-
(?!
1
[
01345789
]
00
|
2
[
1235679
]
00
)
\d\d
(?:
[
02468
]
[
048
]
|
[
13579
]
[
26
]
)
)
|
30
(?!
-02
)
|
31
(?=
-0
[
13578
]
|
-1
[
02
]
)
)
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
[
12
]
\d
{3}
)
(
[
01
]
\d
|
2
[
0
-
3
]
)
:
(
[
0
-
5
]
\d
)
:
(
[
0
-
5
]
\d
)
$
/
Open regex in editor
Description
Validate and Capture (in 1000-2999 range) Leap-Year Correct
Submitted by
anonymous
-
12 years ago