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,940 community submitted regex patterns...
-2
Match words in a string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
username in url
PCRE (PHP <7.3)
should start with letter follow by letters and numbers and (-) - zero or more can't start or finish with (-) can't have two or more consecutive (-) char
Submitted by
Ali Azmoude
-
9 years ago
-2
twitter ids
ECMAScript (JavaScript)
no description available
Submitted by
jaybill
-
9 years ago
-2
Select the numeric part of a price following an ascii dollar sign
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
JSON KEY VALUE
PCRE (PHP <7.3)
Get key value in json string
Submitted by
Marcio Paiva Barbosa
-
9 years ago
-2
Date format regex for ddMMMyyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
twitter usernames
Python
no description available
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
checklists item
Python
checklists item
Submitted by
Tobias Hochgürtel
-
9 years ago
-2
filter
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
-2
Mathematical Expressions
PCRE (PHP <7.3)
ValidatesMathematical Expressions. Ignores whitespace. Includes parenthesis matching.
Submitted by
Jeremy Friesen
-
9 years ago
-2
HTML <script> regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
find mp3 file
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-
9 years ago
-2
Match XML that has a single root element
PCRE (PHP <7.3)
Can be used as a basic validator to ensure that XML has only a single root element
Submitted by
Jerome Wilson
-
9 years ago
-2
Numbers separated by comma and whitespace
PCRE (PHP <7.3)
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
Date Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
1
...
6
7
8
9
10
...
897
All strings of a's and b's with an even number of a's and an odd number of b's.
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?=
(?:
b
*
ab
*
a
)*
b
*
$
)
(?=
(?:
a
*
ba
*
b
)*
a
*
ba
*
$
)
[
ab
]
*
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago