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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 4,760 community submitted regex patterns...
-2
IPv4
Python
allows for all legal IPv4 addresses
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
-2
adsf
Python
adfadfad
Submitted by
anonymous
-
9 years ago
-1
for checking code number 1111/111111111
Python
no description available
Submitted by
dejv
-
10 years ago
-1
sfafagergfwefe323
Python
no description available
Submitted by
anonymous
-
10 years ago
-1
Alternative With Capture Groups
Python
Capture alternative items matching end of lines country codes
Submitted by
Branden
-
9 years ago
-1
date format for year 2000 above
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
IP address
Python
Looks for string formated like an IP address.
Submitted by
anonymous
-
9 years ago
-1
xml
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
Integer or decimal number
Python
no description available
Submitted by
Rick de L
-
9 years ago
-3
Match substitutions
Python
Match regular expressions substitutions, I personally use this to perform my validate if it is a substitution, then call re.sub() on it.
Submitted by
Zarthus
-
10 years ago
-2
Basic grammar for regex matching of simplistic Makefiles
Python
This expression should both normal and wildcard targets and rules wrapped in simple sub-shell or varriable substitution enclosures.
Submitted by
Robert Butler <me@r-butler.net>
-
10 years ago
-2
Email Validation
Python
Full email validation with optional "." "-" "_"
Submitted by
Jakub Stasiak
-
9 years ago
-4
Matches percentage with any number of digits
Python
Only captures value for converting percentage to decimal. Returns empty if percentage but no value. no match = no percentage found
Submitted by
sharkey
-
9 years ago
0
Remove litteral \n
Python
This regex remove \n like litteral string not a newline
Submitted by
Nkio
-
10 years ago
0
test
Python
no description available
Submitted by
anonymous
-
10 years ago
0
test
Python
test
Submitted by
boag
-
9 years ago
1
...
169
170
171
172
173
...
238
Regex to match the image mime types
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
^
image
)
(
\/
)
[
a
-
zA
-
Z0
-
9_
]
*
/
gm
Open regex in editor
Description
Matches the image mime types. E.g image/png, image/jpeg, etc.
Submitted by
anonymous
-
2 years ago