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...
1
Basic Phone Number Matching
ECMAScript (JavaScript)
Basic Phone Number Matching
Submitted by
Anthony Cooper
-
4 years ago
1
All digit must be number
PCRE2 (PHP >=7.3)
All digit must be number
Submitted by
anonymous
-
4 years ago
1
Must be start with 62 and all number (indonesia phone)
PCRE2 (PHP >=7.3)
Must be start with 62 and all number (indonesia phone)
Submitted by
anonymous
-
4 years ago
1
Schuljahr
PCRE2 (PHP >=7.3)
Akzeptiert Schuljahre wie 2021/22
Submitted by
anonymous
-
4 years ago
1
printf conversion specification parsing
Python
Parses printf conversion specifications. This version detects multiple flags and (space) flag. MSVC length modifier I64 is also supported. I'm using this regex in my Python project, so please change accordingly if you use other flavor of regex.
Submitted by
Haruka Ma
-
4 years ago
1
Text out of all sort of brackets (or in) SUPPORTS: { } [ ] ( ) < >
PCRE (PHP <7.3)
I made the description in a CSS file which can be viewed here Dont worry its not a virus or anything\, just inspect the source if you are suspicious \:\)
Submitted by
Tom Liesting
-
4 years ago
1
Remove bold markdown
ECMAScript (JavaScript)
Remove bold pairs in markdown text
Submitted by
anonymous
-
4 years ago
1
Email validator
ECMAScript (JavaScript)
Email validation with support with new TLD up to 24 characters
Submitted by
Alessio Michelini
-
4 years ago
(Last modified 4 years ago)
1
HTTP Header Content Type Application JSON
ECMAScript (JavaScript)
Useful to check the HTTP content-type as application/json since sometimes people created their own custom content-type on top of JSON.
Submitted by
Yordis Prieto (Alchemist Ubi)
-
4 years ago
1
test for binary number divisible by 3
ECMAScript (JavaScript)
it detects binary numbers divislbe by 3
Submitted by
anonymous
-
4 years ago
(Last modified 4 years ago)
1
wall of text
ECMAScript (JavaScript)
this matches walls of text (more than 700 ascii chars with no newline in them)
Submitted by
anonymous
-
4 years ago
(Last modified 4 years ago)
1
URL and mailto
PCRE2 (PHP >=7.3)
RegExp to match valid URL of http://, https://, ftp://, and mailto: protocols
Submitted by
Sergey Klinov
-
4 years ago
1
Regex pattern for numeric values
Python
Positive number !
Submitted by
Cheikh Saab Bouh SOW
-
4 years ago
1
MAC Address
Python
Match mac address with :, -, ., or no dividers.
Submitted by
Brandan Neises
-
4 years ago
1
re_ip
PCRE (PHP <7.3)
match IP:port in text
Submitted by
anonymous
-
4 years ago
1
turkdevops
ECMAScript (JavaScript)
Türkiye Geliştirici Operasyonları
Submitted by
anonymous
-
4 years ago
1
Time duration from minutes to weeks suffixed by letter and whitespace separated
ECMAScript (JavaScript)
Brief Description Time duration from minutes to weeks suffixed by corresponding letter and whitespace separated. No unit of time can be omitted. Max values are enforced for minutes, hours, and days, and a max length for weeks. Case is ignored. The string should match completely from start to end. E...
Submitted by
Dorin Popa
-
4 years ago
(Last modified 4 years ago)
1
Semantec Versioning
ECMAScript (JavaScript)
Various RegEx expressions that work with Semantic Versioning,
Submitted by
Flemming Steffensen
-
4 years ago
1
Match segmented paths with '\' and '/' escaped by '\'
Java 8
Match segmented paths with '\' and '/' escaped by '\'
Submitted by
anonymous
-
4 years ago
1
Swiss MWST
PCRE (PHP <7.3)
Swiss VAT Numbers
Submitted by
igrokit
-
4 years ago
1
...
256
257
258
259
260
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
[
"'
]
?
)
\$
?
-
?
(
[
0
-
9
]
{1,3}
,
(
[
0
-
9
]
{3}
,
)*
[
0
-
9
]
{3}
|
[
0
-
9
]
{1,3}
)
(
\.
[
0
-
9
]
[
0
-
9
]
{0,2}
)?
\1
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago