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 13,860 community submitted regex patterns...
1
dd-mmm-yyyy javascript regex
PCRE (PHP <7.3)
29-Dec-2015
Submitted by
Abhijeet Joshi
-
8 years ago
0
switch case statemen in C++
PCRE (PHP <7.3)
Match switch case statemen in C++
Submitted by
Денис Суховерхов
-
8 years ago
1
gitlab project repos
PCRE (PHP <7.3)
subdirectory only
Submitted by
anonymous
-
8 years ago
1
sélection entre 2 tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
IP address a.b.c.d form with range from 0 to 255 for each letters
Python
Are you pissed off with your regular expression homework? well then. here is the answer. ^([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))$
Submitted by
Abdulaziz
-
8 years ago
1
Simple date validation
PCRE (PHP <7.3)
Regex validating yyyy-mm-dd or dd-mm-yyyy
Submitted by
anonymous
-
8 years ago
0
Find missing space around operators (=, +, -, *, /)
Python
no description available
Submitted by
rugk
-
8 years ago
1
Search for missing space around operator (=, +, -)
Python
In this case it is only =, but you can easily modify it to add more operators.
Submitted by
rugk
-
8 years ago
2
Extract .mp3 url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
убрать все и кривой плюс
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
reges for validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Detecting numbers
PCRE (PHP <7.3)
signed or unsigned numbers with exponents or not
Submitted by
Mohammed Yehia
-
8 years ago
1
qwert1
PCRE (PHP <7.3)
6 character with 1 number and alphabet
Submitted by
anonymous
-
8 years ago
1
My first regex pattern of url(http,https,ftp,sftp,ftps)
PCRE (PHP <7.3)
no description available
Submitted by
Naruto(Kenny Fan)
-
8 years ago
1
Match parenthesis
Python
Matches anything wrapped in parenthesis. Can handle nested and consecutive sets of parenthesis.
Submitted by
Nic Roland
-
8 years ago
1
Full URL
PCRE (PHP <7.3)
no description available
Submitted by
mdf092
-
8 years ago
1
match start of line subsubsection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
https://www.facebook.com/video.php?v=1009222819122586
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
uzdiz-dz3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Capture subsubsub sections of constitution/bylays
PCRE (PHP <7.3)
Will only capture patterns matching 4 levels, found at the beginning of a line if /gm tag is used
Submitted by
bsmith
-
8 years ago
1
...
580
581
582
583
584
...
693
Find Reddit Threads
10
Regular Expression
Python
r"
(
^
https
?
://
)?
(
\w
+
)?
\.
?
(
reddit
\.
com/
|
redd
\.
it/
)
(
r/
\w
+
/
)?
(
comments/
)?
(
\w
+
)
"
gm
Open regex in editor
Description
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
-
9 years ago