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,040 community submitted regex patterns...
2
Parse string like: "[!type|name] http://some.url/to.file"
ECMAScript (JavaScript)
http://some.url/to.file [!css|name]http://some.url/to.file [!css] http://some.url/to.file ...
Submitted by
Max Chuhryaev
-
9 years ago
2
Strong password
ECMAScript (JavaScript)
Password require: lowercase, uppercase, symbol, not consecutive same letter/number, and not some specific words
Submitted by
@cadete_kdt
-
9 years ago
2
Fix Card Def
PCRE (PHP <7.3)
no description available
Submitted by
yyrkroon
-
9 years ago
2
emoji short-code detection
ECMAScript (JavaScript)
Detects the short-code words for emojis (a la jemoji).
Submitted by
Eric McCormick
-
9 years ago
2
bye
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
LUN UID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Parse Cabrillo Amateur Radio Log Record
PCRE (PHP <7.3)
no description available
Submitted by
NY4I
-
9 years ago
2
ofstream ifstream file C++
Python
match ofstream of("test.txt", ios_base::app); ofstream of("test.txt", ios_base::trunc); ofstream of("test.txt", ios_base::binary);
Submitted by
Денис Суховерхов
-
9 years ago
2
css class finder
PCRE (PHP <7.3)
این عبارت منظم یک کلاس سی اس اس را پیدا می کند
Submitted by
ehsan abbasi
-
9 years ago
2
comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Regex to find if/while constructs
PCRE (PHP <7.3)
Find if/while in JS code written in PCRE
Submitted by
Deepak Subramanian
-
9 years ago
2
Find url('./xxx)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Password Validation
Python
Checks for password containing at least 1 Upper case, 1 lower case, 1 digit and 1 special character, all together with a length of at least 8. (This pattern allows any order of the requried elements, other than what was been distributed here before)
Submitted by
Tom Spielvogel
-
9 years ago
2
Bitstream with not more than 4 repeating bits
PCRE (PHP <7.3)
0111100 will be matched whereas 0111110 will not. Change \1{4} to max repeating count. For max 9 repeating -> \1{9}
Submitted by
anonymous
-
9 years ago
2
ukrainian alphabet
PCRE (PHP <7.3)
no description available
Submitted by
benderlio
-
9 years ago
2
Date or N/A
ECMAScript (JavaScript)
Accepts Date or not applicable string.
Submitted by
Toufique Ahmed
-
9 years ago
2
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Email Cleanup
PCRE (PHP <7.3)
Working on email link cleanup.
Submitted by
anonymous
-
9 years ago
2
extract hostname
PCRE (PHP <7.3)
extracts hostname from url
Submitted by
Kristine Poghosyan
-
9 years ago
2
problem for homework
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
25
26
27
28
29
...
902
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(
^
(
(
(
0
[
1
-
9
]
|
1
[
0
-
9
]
|
2
[
0
-
8
]
)
[
\/
]
(
0
[
1
-
9
]
|
1
[
012
]
)
)
|
(
(
29
|
30
|
31
)
[
\/
]
(
0
[
13578
]
|
1
[
02
]
)
)
|
(
(
29
|
30
)
[
\/
]
(
0
[
4,6,9
]
|
11
)
)
)
[
\/
]
(
19
|
[
2
-
9
]
[
0
-
9
]
)
\d\d$
)
|
(
^
29
[
\/
]
02
[
\/
]
(
19
|
[
2
-
9
]
[
0
-
9
]
)
(
00
|
04
|
08
|
12
|
16
|
20
|
24
|
28
|
32
|
36
|
40
|
44
|
48
|
52
|
56
|
60
|
64
|
68
|
72
|
76
|
80
|
84
|
88
|
92
|
96
)
$
)
/
Open regex in editor
Description
with Leap Year support (dd/MM/yyyy)
Submitted by
gdZeus (uploaded by limker)
-
8 years ago