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 4,760 community submitted regex patterns...
1
Get path from URL
Python
extract the path from a URL returns one group (if matching) with the path info e.g. http://somedomain.com/some-page/ http://www.domain.com:8080/some-page/ https://www.google.com:8080/some-page/...
Submitted by
luke_aus
-
9 years ago
0
test
Python
test
Submitted by
boag
-
9 years ago
1
MySQLcase
Python
make sure mysql tables have the correct form
Submitted by
d
-
9 years ago
1
phanindra.vaga.ranama
Python
sdf
Submitted by
asdf
-
9 years ago
2
suricata OSSIM regex-1
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Timecode
Python
Regex to match standard timecode format.
Submitted by
Travis
-
9 years ago
-2
Host and domains
Python
no description available
Submitted by
anonymous
-
9 years ago
0
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
9 years ago
-1
date format for year 2000 above
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
IPv4
Python
allows for all legal IPv4 addresses
Submitted by
anonymous
-
9 years ago
1
Apache Access Log pattern
Python
Apache Web server log file format following the standard
Submitted by
Basil Tungekar
-
9 years ago
0
str with whitespace not starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
finds the instance of two or more repeating letters
Python
no description available
Submitted by
cp0153
-
9 years ago
1
Email id
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Prime numbers test
Python
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago
2
Match 'words' with internal punctuation retained
Python
Matches words without external punctuation but with internal punctuation.
Submitted by
anonymous
-
9 years ago
2
calibre book parse
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
bibtex entries
Python
match bibtex entries
Submitted by
Sixue Qin
-
9 years ago
-1
Java single line comment matcher
Python
This regex matches java line end comments started with "//" and ignores such ones that are within String literals. (NO SUFFICIENT TESTING WAS DONE TO GUARANTEE 100% SAFETY)
Submitted by
Janis Schöck
-
9 years ago
-1
word_to_match
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
4
5
6
7
8
...
238
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(?>
(
.
)
(?:
\2
{2,}
|
\2
(?1)
?
\2\2
?
|
(?1)
?
\2
{2}
)
)+
)
$
/
gm
Open regex in editor
Description
Tests if a Zuma board can be cleared completely
Submitted by
wheatup
-
7 months ago
(Last modified 7 months ago)