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 13,060 community submitted regex patterns...
-2
Find multiple XML documents in file
PCRE (PHP <7.3)
as title says
Submitted by
Doro
-
10 years ago
-2
indonesian p0rn word filter
PCRE (PHP <7.3)
find and replace bad and p0rn indonesian words
Submitted by
teknokoplak
-
10 years ago
-2
valid windows file name
ECMAScript (JavaScript)
no description available
Submitted by
Mitacha
-
10 years ago
-2
Comma-separated numbers with ranges
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-
10 years ago
-2
Match website - http:|https://i.imgur.com
ECMAScript (JavaScript)
no description available
Submitted by
ghrifter
-
9 years ago
-2
Match Content-Range response header
ECMAScript (JavaScript)
Matches the Content-Range response header format -[end]/[total|*]
Submitted by
mdezem
-
9 years ago
-2
Validate credit card numbers
PCRE (PHP <7.3)
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
9 years ago
-2
Match words in a string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Match the first and last char of a word
PCRE (PHP <7.3)
no description available
Submitted by
pedroppinheiro
-
9 years ago
-2
domain name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
lowercase words followed by uppercase words. Be able to separate words
PCRE (PHP <7.3)
Tinta del paísSuelo: Arena 100%Altitud media: 900mEdad del viñedo: PrefiloxeraRendimiento: 1800 Kg/haLugar: Ribera del Duero, FuentelcéspedBodega:Bodegas y Viñedos Juan Manuel Burgos
Submitted by
Eduard eduard.fabra@uvinum.com
-
9 years ago
-2
6 Digit ID
PCRE (PHP <7.3)
Very basic. My first proper REGEX. 6 Digit ID starting with e. Must be lowercase. must start with an e (can change to another letter)
Submitted by
BejasC#
-
9 years ago
-2
12 Hour Time Pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
SQL Injection
ECMAScript (JavaScript)
SQL injection regEx pattern
Submitted by
Darshan Patil
-
9 years ago
0
Verify and match e-mail address
PCRE (PHP <7.3)
no description available
Submitted by
Josh K
-
11 years ago
0
Simple
ECMAScript (JavaScript)
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
0
Grab text in double square brackets (excluding triple)
PCRE (PHP <7.3)
no description available
Submitted by
Petah
-
11 years ago
0
Date with this format YYYY-MM-DD and year start 20 or 21
PCRE (PHP <7.3)
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014-12-12
Submitted by
cisc0
-
10 years ago
0
IMAP Status Response with MESSAGE and UNSEEN count
PCRE (PHP <7.3)
Matches the folder name (as IMAP ATOM, Quoted String or Literal String) and folder message total and unseen count.
Submitted by
Mike Johnson
-
10 years ago
1
...
246
247
248
249
250
...
653
Integers and Decimals
-1
Regular Expression
PCRE (PHP <7.3)
/
^
-
?
(
\d
+
|
\d
{1,3}
(?:
\,
\d
{3}
)+
)?
(
\.
\d
+
)?
$
/
gm
Open regex in editor
Description
Matches integers and decimals with or without thousands grouping.
Submitted by
Franz Alex Gaisie-Essifie
-
9 years ago