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 17,920 community submitted regex patterns...
-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
-2
Simple Username Pattern
PCRE (PHP <7.3)
a simple username pattern
Submitted by
Saeed Tabrizi
-
9 years ago
-2
DOTNET
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Get begining of url (subdomain)
PCRE (PHP <7.3)
In between 2 delimiters
Submitted by
anonymous
-
9 years ago
-2
adsf
Python
adfadfad
Submitted by
anonymous
-
9 years ago
-2
match unescaped quotes
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Parse all simple math expressions (decimals, whole, negative)
PCRE (PHP <7.3)
-2.02^3(2+3.024)+3.14159-(45^23)/(19-4)
Submitted by
anonymous
-
9 years ago
-2
Get the HTML table tag and all content from within
PCRE (PHP <7.3)
no description available
Submitted by
Pedro Marcelo de Sá Alves
-
9 years ago
1
...
8
9
10
11
12
...
896
Match non self closing tags HTML/XML tags
0
Regular Expression
Golang
`
(?s)
<AbstractText
\b
[^
>
]
*
\b
[^
\/
]
?
>
(
.
+
?
)
</AbstractText>
`
g
Open regex in editor
Description
no description available
Submitted by
Richard Peng
-
8 years ago