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
Community Patterns
Search among 13,020 community submitted regex patterns...
0
not_next_text
PCRE (PHP <7.3)
not_text
Submitted by
anonymous
-
2 years ago
0
identify html headers
PCRE (PHP <7.3)
Able to identify many header html tags in the text and group eachone.
Submitted by
Adão Dias
-
2 years ago
0
Phone Number Match only + and digits
ECMAScript (JavaScript)
not match : 123-456-7890 (123) 456-7890 123 456 7890 123.456.7890...
Submitted by
Azhi
-
2 years ago
0
subnet cidr check
Java 8
subnet cidr check example 192.168.1.0/30
Submitted by
Di
-
2 years ago
0
First letter of each word
ECMAScript (JavaScript)
Lowercase whole line to make it work
Submitted by
PolyFlower
-
2 years ago
0
ACM Code Extraction
Java 8
title
Submitted by
anonymous
-
2 years ago
0
KFZ Kennzeichen Prüfung (ohne -)
ECMAScript (JavaScript)
Prüft ein deutsches Kfz-Kennzeichen auf gültigen Aufbau Source: morpheus42
Submitted by
Simon Müller
-
2 years ago
0
bash path splitter
PCRE (PHP <7.3)
Split a a path into to groups around a central directory
Submitted by
me
-
2 years ago
0
HTTP Authorization header for JWT token
ECMAScript (JavaScript)
HTTP Authorization header for JWT token
Submitted by
QNimbus
-
2 years ago
0
JWT token
ECMAScript (JavaScript)
JWT token
Submitted by
QNimbus
-
2 years ago
0
Uneven numbers of consontants
Java 8
Uneven numbers of consonants
Submitted by
Kristian Reitzel
-
2 years ago
0
youtube
PCRE (PHP <7.3)
AMP - chinatimes
Submitted by
anonymous
-
2 years ago
0
upload file name validations
ECMAScript (JavaScript)
upload file name validations
Submitted by
Arumugam
-
2 years ago
0
US Phone number regex
ECMAScript (JavaScript)
Matches formats such as the following: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555 5555555555...
Submitted by
anonymous
-
2 years ago
(Last modified 9 months ago)
0
Math evaluation
ECMAScript (JavaScript)
Regex for capturing LaTeX and passing it to a program, like sympy.
Submitted by
anonymous
-
2 years ago
0
Match Root Domain
ECMAScript (JavaScript)
This is meant to match a specific root domain in certain formats. For example, I'm excluding the root domain by itself as that could be what is written in the documentation, but in links, or code, it would usually have a subdomain and protocol attached.
Submitted by
Joseph
-
2 years ago
0
Армянские фамилии
Java 8
Все существовавшие армянские фамилии
Submitted by
Arthur
-
2 years ago
0
Русские фамилии
Java 8
Почти все известные фамилии
Submitted by
Arthur
-
2 years ago
0
Email
Java 8
Test e-amil
Submitted by
uk
-
2 years ago
0
javascript regex question
ECMAScript (JavaScript)
问题
Submitted by
anonymous
-
2 years ago
1
...
611
612
613
614
615
...
651
Validate credit card numbers
-2
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
4
[
0
-
9
]
{12}
(?:
[
0
-
9
]
{3}
)?
|
5
[
1
-
5
]
[
0
-
9
]
{14}
|
3
[
47
]
[
0
-
9
]
{13}
|
3
(?:
0
[
0
-
5
]
|
[
68
]
[
0
-
9
]
)
[
0
-
9
]
{11}
|
6
(?:
011
|
5
[
0
-
9
]
{2}
)
[
0
-
9
]
{12}
|
(?:
2131
|
1800
|
35
\d
{3}
)
\d
{11}
)
$
/
Open regex in editor
Description
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
9 years ago