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
xml_kv_extraction
PCRE (PHP <7.3)
Basic XML key-value extraction
Submitted by
Keith Muggleton
-
9 years ago
-2
march html tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Camelize JSON
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Substitute text between brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
French phone attempt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Brazillian Telephone Number validator
PCRE (PHP <7.3)
A basic validator for BR phone numbers
Submitted by
Yemolai
-
9 years ago
-2
Find labels without preferredMaxLayoutWidth and multiple lines in Appl
PCRE (PHP <7.3)
Allows to find label generating warnings like "Automatic Preferred Max Layout Width before iOS 8.0" in XCode
Submitted by
Alessio Anesa
-
9 years ago
-2
remove eval(base64_decode( ));
PCRE (PHP <7.3)
\seval\(base64_decode\(?\)\);
Submitted by
manish kumar
-
9 years ago
-2
SQL Injection
ECMAScript (JavaScript)
SQL injection regEx pattern
Submitted by
Darshan Patil
-
9 years ago
-2
search all special characters
ECMAScript (JavaScript)
no description available
Submitted by
rlynjb
-
9 years ago
-2
email
PCRE (PHP <7.3)
matches normal email addresses like example@gmail.com but also addresses with ip addresses like example@192.168.0.34 (not ipv6)
Submitted by
Adrian Kühni
-
9 years ago
-2
Name/Surname
ECMAScript (JavaScript)
Regex to constrain a text to have at least 2 strings. Compatible with 2nd-3rd-Nth names/surnames.
Submitted by
BigL
-
9 years ago
-2
Valid Email
ECMAScript (JavaScript)
Use this Regex for server-side validation also with some slight modifications like so for .NET -- @\w+([-+.']\w+)@\w+([-.]\w+)\.[a-zA-Z0-9]{2,6}(-.{2,6})*;
Submitted by
Fred Scales
-
9 years ago
-2
Roman numbers
ECMAScript (JavaScript)
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicolò Ribaudo
-
9 years ago
-2
float
PCRE (PHP <7.3)
matches 123.4f 123.4F .4f .4F 5f 5F
Submitted by
Mateusz Paluch
-
9 years ago
-2
boolean
PCRE (PHP <7.3)
Value must be either true or false
Submitted by
nstaal
-
9 years ago
-2
match commas between sets or members, but not inside members.
Python
matches only those commas that are between sets, or between members of a set. does not match commas that are inside members.
Submitted by
Amrit Kohli
-
9 years ago
-2
Multiple Email Address Validation
ECMAScript (JavaScript)
Validates Multiple email addresses seperated by comma.
Submitted by
Rajesh Badam
-
9 years ago
-2
Between two strings
Python
Awesome explanation of nested lookbacks
Submitted by
OnlineCop
-
9 years ago
-2
Validating comma delimited strings for whitespaces & extra commas
ECMAScript (JavaScript)
Validating comma delimited strings for whitespaces & extra commas -- +(,()+){0,}
Submitted by
Cyril Mathew
-
9 years ago
1
...
7
8
9
10
11
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
\d
*
?
)
[
\s
-
]
*
(
\d
+
)
\s
*
/
\s
*
(
\d
+
)
"
Open regex in editor
Description
mixed or simple fraction with whitespace, optional dash as separator
Submitted by
anonymous
-
9 years ago