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...
0
Brazilian telefone number regex
PCRE (PHP <7.3)
Regex to get numbers from brazilian telephone number pattern
Submitted by
anonymous
-
5 years ago
0
Javascript =>Strict Conditinal Operators
PCRE (PHP <7.3)
// @desc Replaces conditional operators with strict variant /* Matches == */ if (e.keyCode == 68) { doCode() } /* Replacement */ if (e.keyCode === 70) { doCode() } /* Problem != */ if (e.keyCode != 69) { doCode() } /* Replacement */ if (e.keyCode !== 71) { doCode() }...
Submitted by
disk0
-
5 years ago
0
generic regular expression for matching text between brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
regular expression for matching text between brackets and the number after the bracket
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
regular expression for matching text between brackets and the number after the bracket
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
regex 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Mot de passe robuste
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Adresse IPv4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Mot de passe robuste
PCRE (PHP <7.3)
(([a-zA-Z0-9])()([a-zA-Z0-9])().)
Submitted by
anonymous
-
5 years ago
0
date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Find (-) at beginning of line or (-) when preceded by whitespace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
multi-select with lookahead
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Fixed format for Customer Reference
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
check code
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Tests string if it is a valid number with or without its unit
ECMAScript (JavaScript)
Useful when working with css
Submitted by
anonymous
-
5 years ago
0
select file in http address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Captures only numbers with 2+ digits and excluding prefix 0's
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
1
...
282
283
284
285
286
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
#
(
(
[
0
-
9A
-
F
]
{6}
)
|
(
[
0
-
9a
-
f
]
{6}
)
)
/
gm
Open regex in editor
Description
#(([0-9A-F]{6})|([0-9a-f]{6}))
Submitted by
anonymous
-
5 years ago