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,840 community submitted regex patterns...
0
Learn basic regex
PCRE2 (PHP >=7.3)
Basic regex
Submitted by
anonymous
-
2 years ago
0
regex email
PCRE2 (PHP >=7.3)
check email
Submitted by
anonymous
-
2 years ago
0
regex check phone number
PCRE2 (PHP >=7.3)
regex check phone number
Submitted by
anonymous
-
2 years ago
0
regex score
PCRE2 (PHP >=7.3)
regex score
Submitted by
anonymous
-
2 years ago
0
regex name customer
PCRE2 (PHP >=7.3)
regex name customer
Submitted by
anonymous
-
2 years ago
0
Lua Comment RegEx
Java 8
matches lua comments
Submitted by
Fiereu
-
2 years ago
0
Change ref to eqref in LaTeX
PCRE2 (PHP >=7.3)
Change ref to eqref in LaTeX
Submitted by
Jeppe Vinkel Beier
-
2 years ago
0
Password Validation
Python
8 char 1 special char 1 number char 1 lower char 1 upper char
Submitted by
you
-
2 years ago
(Last modified 2 years ago)
0
Telegram profile url validation
PCRE (PHP <7.3)
see testing
Submitted by
anonymous
-
2 years ago
0
Telegram joinchat url validation
PCRE (PHP <7.3)
see testing
Submitted by
anonymous
-
2 years ago
0
Media Tagger - Remove Square Brackets
PCRE2 (PHP >=7.3)
Remove square brackets from Track number and optionally remove Artist Name from Title.
Submitted by
António Cruz
-
2 years ago
0
comment shortcode
PCRE2 (PHP >=7.3)
Captures content between a pair of specifically-named HTML comments.
Submitted by
anonymous
-
2 years ago
0
Barcodes
Python
Matching barcodes
Submitted by
Moses
-
2 years ago
0
Media files
Python
Matching majority of media files
Submitted by
Moses
-
2 years ago
0
regex1
PCRE2 (PHP >=7.3)
한글, 영문, 숫자, 특수문자 입력 가능 특수문자 : ~ ! @ # $ % ^ & * ( ) - + ? _ / [ ] 최대 40글자까지 가능 / 최소 1글자 이상 공백 입력가능
Submitted by
anonymous
-
2 years ago
0
Delete repeated bibitem
PCRE2 (PHP >=7.3)
Search for a repeated bibitem inside the curly braces of a latex \cite command and removes it.
Submitted by
anonymous
-
2 years ago
0
acepta solo consonantes pero solo va en java
Java 8
select consonants but only do work in java ...
Submitted by
anonymous
-
2 years ago
0
consonants
PCRE2 (PHP >=7.3)
finally made same but this one works on all sides
Submitted by
anonymous
-
2 years ago
0
OpenSubtitles api finds year
PCRE2 (PHP >=7.3)
this regex finds the first year in the json file returned by opensubtitles api
Submitted by
Andrea Canton
-
2 years ago
0
Any_Date
PCRE (PHP <7.3)
Finds dates in a variety of formats with years being 2 or 4 digits. Iterations include a space, a hyphen, or a / for the separator. MM-DD-YY(YY), MM DD YY, or MM/DD/YY, and allows the month and days to have a preceding 0 such as 01/01/2021 as well as 1/1/2021. ([\/-]|\s) is the separating group a...
Submitted by
Spodg13
-
2 years ago
1
...
607
608
609
610
611
...
692
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