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 5,600 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UA phone number
ECMAScript (JavaScript)
check ua phone number
Submitted by
anonymous
-
a year ago
2022-05-16 20:23
(Last modified a year ago)
2022-05-16 20:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex expression to DateTime checking in YYYY-MM-DDTHH:MM:SS[+/-]HH:SS
Python
/(^((\d{4}-(((0[13578]|1)-(0[1-9]|[1-2]\d|3[01]))))|((\d{4}-(((0[469]|1)-(0[1-9]|[1-2]\d|3)))))|((\d{4}-(0[2]-(0[1-9]|[1-2]\d)))))T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d))?(+-\d:[0-5]\d)$)/gm
Submitted by
anonymous
-
a year ago
2022-05-17 04:45
(Last modified 2 months ago)
2023-07-19 13:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
FIrst or Last Name
ECMAScript (JavaScript)
Validates a first or last name of an user. Positives: Anna Anna-Louisa Anna Louisa...
Submitted by
Iris
-
a year ago
2022-05-17 09:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
a year ago
2022-05-18 12:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
a year ago
2022-05-20 14:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mez regex #1
ECMAScript (JavaScript)
This is the #1 regex used in Mez
Submitted by
anonymous
-
a year ago
2022-05-21 09:08
(Last modified a year ago)
2022-05-21 09:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bracket finder ( Mez regex #2 )
ECMAScript (JavaScript)
This is the #2 regex used in Mez
Submitted by
anonymous
-
a year ago
2022-05-21 09:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mez regex #3
ECMAScript (JavaScript)
This is the #3 regex used in Mez
Submitted by
anonymous
-
a year ago
2022-05-21 11:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
a year ago
2022-05-22 04:33
(Last modified a year ago)
2022-05-22 04:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
a year ago
2022-05-23 06:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BIN ELO - 2022
ECMAScript (JavaScript)
Used to validate credit cards from ELO flag.
Submitted by
Searched in internet
-
a year ago
2022-05-24 16:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cookie parser
ECMAScript (JavaScript)
Parser for cookies; works in HTTP servers AND front end
Submitted by
lopste / Vercte
-
a year ago
2022-05-25 02:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find Duplicate Characters in String
ECMAScript (JavaScript)
Given a string, find the duplicate characters.
Submitted by
Matthew Hiebing
-
a year ago
2022-05-25 03:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
变成一行
ECMAScript (JavaScript)
把代码变成一行一个属性
Submitted by
naoyuyan
-
a year ago
2022-05-25 06:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching %d-%b date format
Python
Matching %d-%b date format with or without leading 0 in the day
Submitted by
Justin Copeland
-
a year ago
2022-05-25 22:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find element with specific attribute (supports multiline element)
ECMAScript (JavaScript)
This will help you find all the v-btn component usage with prop color set to primary.
Submitted by
anonymous
-
a year ago
2022-05-26 06:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Shell multiline parser
ECMAScript (JavaScript)
Partially completed pattern for vscode-highlight
Submitted by
disco0
-
a year ago
2022-05-26 06:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mr regexp
ECMAScript (JavaScript)
Рег
Submitted by
anonymous
-
a year ago
2022-05-27 10:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
email regex
ECMAScript (JavaScript)
check mail regex
Submitted by
anonymous
-
a year ago
2022-05-27 14:58
(Last modified 11 days ago)
2023-09-22 07:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Prefix all classes
ECMAScript (JavaScript)
Prefix all classes
Submitted by
anonymous
-
a year ago
2022-05-30 03:18
1
...
250
251
252
253
254
255
256
...
280
To Be Or Not To Be
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
bb
|
[^
b
]
{2}
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
DawnBridge
-
8 years ago
2015-07-16 09:56