Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 11,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RegEx for TimeZone OffSet with optional - sign and range from -14:00 to 14:00 with minutes 00,15,30,45
PCRE (PHP <7.3)
TimeZone Offset parsing regular expression with below rules: Starts with optional - sign Range is between -14:00 to 14:00 including both the values Hours can have any value in range 00 to 14 and should have double digits Minutes can have discrete values of 00, 15, 30, 45
Submitted by
anonymous
-
3 years ago
2020-05-18 20:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Übung 4 Aufgabe 1
PCRE (PHP <7.3)
Python Kurs
Submitted by
anonymous
-
3 years ago
2020-05-19 10:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Scrape video formats in html with tokens
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-19 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Übung 4 Aufgabe 2
PCRE (PHP <7.3)
Erkenne deutsche und englische Datumsangaben
Submitted by
anonymous
-
3 years ago
2020-05-19 12:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match IP Address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-19 15:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
matrículas
PCRE (PHP <7.3)
Expressões regulares para extrair matrículas presentes em documentos do Diário Oficial da União DODF. Contexto: projeto KnEDLe
Submitted by
Leonardo Maffei da Silva
-
3 years ago
2020-05-19 23:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get domain or filename from link
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-20 03:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NUTS Expression 1
PCRE (PHP <7.3)
NUTS Expression parsing: Outer function name and args detection
Submitted by
anonymous
-
3 years ago
2020-05-20 09:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
VAT label
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-20 10:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
YouTube ID and timestamp extraction
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-20 10:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DB2 to Oracle - CURRENT DATE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-20 14:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DB2 to Oracle - CURRENT TIME
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-20 14:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
check password complexity
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-21 12:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
not static GS::(..)LogLine
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-21 15:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
逆向预查
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-22 06:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
unsescape phishing regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-22 09:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex to format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-22 12:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find text in quotes
PCRE (PHP <7.3)
find text in quotes
Submitted by
anonymous
-
3 years ago
2020-05-22 12:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex per parsing log netmonitor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-22 15:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Парсинг математических уравнений
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-05-22 19:15
1
...
518
519
520
521
522
523
524
...
577
Credit Card Number
4
17 upvotes, 13 downvotes (score 39.2%) (You must be signed in to vote)
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}
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Ehsan
-
8 years ago
2015-06-04 15:07