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...
4
Match Brackets and anything inside
ECMAScript (JavaScript)
no description available
Submitted by
andreayang
-
11 years ago
1
saja
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Dotted-decimal IPv4 address
PCRE (PHP <7.3)
Validates an IPv4 address for use as a URI host as defined in RFC-3986.
Submitted by
ezzatron
-
11 years ago
1
{if}{endif} matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
get image with classname
ECMAScript (JavaScript)
no description available
Submitted by
@cloverink
-
11 years ago
1
why this matches?
PCRE (PHP <7.3)
no description available
Submitted by
romans
-
11 years ago
-1
Substitutin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
negated special characters
PCRE (PHP <7.3)
no description available
Submitted by
Rimjhim
-
11 years ago
238
Matching email addresses per RFC5322
PCRE (PHP <7.3)
The BNF rules from RFC 5322 transformed to PCRE by Nikita Popov and described in the post http://nikic.github.io/2012/06/15/The-true-power-of-regular-expressions.html.
Submitted by
Michael Musson
-
11 years ago
0
quoted string possibly containing escaped delimiter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
bridal quality
PCRE (PHP <7.3)
no description available
Submitted by
mine
-
11 years ago
-1
Twitter #hashtags
Python
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
11 years ago
1
Anom
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
Simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-1
Find image style
ECMAScript (JavaScript)
style img
Submitted by
anonymous
-
11 years ago
3
HTML image tag src
ECMAScript (JavaScript)
Capture src attribute of HTML image tags
Submitted by
Simon Altschuler
-
11 years ago
0
Match quotes around words (including whitespace)
PCRE (PHP <7.3)
no description available
Submitted by
Michael de Silva
-
11 years ago
3
Get Nth value (3 times)
PCRE (PHP <7.3)
capture Nth character from string, 3 times
Submitted by
K.
-
11 years ago
2
hghdgh
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
...
897
898
899
900
901
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\d
)
\1
+
/
gm
Open regex in editor
Description
Checks if there are repeated numbers in a number. Ex. 1223 ==> Has the number 2 repeated
Submitted by
maPer77
-
3 years ago