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 11,520 community submitted regex patterns...
0
Telegram joinchat url validation
PCRE (PHP <7.3)
see testing
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
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
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
0
fdsf
Java 8
sdf
Submitted by
anonymous
-
2 years ago
0
id card
Java 8
打断点
Submitted by
anonymous
-
2 years ago
0
Function parameter selection
Java 8
Allows to select multiple type of parameters for them to be handled differently. The regex can get strings ( "example string" ), variable name of boolean value ( name or true or false ) or integers and doubles ( 5 or 4.5 ). The variables names and boolean values have to be checked in the program u...
Submitted by
anonymous
-
2 years ago
0
Time format
PCRE (PHP <7.3)
38 Seconds
Submitted by
anonymous
-
2 years ago
0
Mpe
Java 8
coda test
Submitted by
anonymous
-
2 years ago
0
Markdown
PCRE (PHP <7.3)
Working with Markdown
Submitted by
anonymous
-
2 years ago
0
regex para CPF
PCRE (PHP <7.3)
Verificação simplificada dígitos CPF
Submitted by
anonymous
-
2 years ago
0
Replace <b> HTML tag with <strong> tag
PCRE (PHP <7.3)
Replace old formatting HTML tag with semantic tag. It can be used as a template for replacing any HTML tag, like , etc.
Submitted by
O’Reilly Regular Expressions Cookbook
-
2 years ago
0
keywords
Python
matching a keyword expression and wrapping it with an html tag
Submitted by
anonymous
-
2 years ago
0
Wersjonowanie semantyczne
PCRE (PHP <7.3)
a
Submitted by
https://semver.org/lang/ko/
-
2 years ago
0
find match in url
Python
find the word "google" with "i" or "com"
Submitted by
Shai chikorel
-
2 years ago
0
SoundsExtract
Python
extract sounds
Submitted by
anonymous
-
2 years ago
0
Match CLI argument to
Java 8
Matches argumetn to as: -t to -t= ...
Submitted by
rperez-torro
-
2 years ago
0
Python string regex with escaped characters
Python
string regex but you can escape characters like \", for python only
Submitted by
Fxomt
-
2 years ago
(Last modified 2 years ago)
0
Currency Style (py.checkio.org)
Python
a mission on py.checkio.org: Currency Style
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
...
547
548
549
550
551
...
576
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