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,500 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DEPIT INFO
Python
K
Submitted by
K
-
2 years ago
2022-05-05 10:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SUBTOTAL
Python
SUBTOTAL 15.88
Submitted by
KRISHNA
-
2 years ago
2022-05-05 10:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Time in hh:mm:ss
PCRE (PHP <7.3)
19h32min16s
Submitted by
anonymous
-
2 years ago
2022-05-05 22:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Something...
Java 8
Look for all entries of a country on a list that can have repeated values
Submitted by
anonymous
-
2 years ago
2022-05-06 10:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CPF|CNPJ
Python
Match Brazilian documents
Submitted by
Bacco
-
2 years ago
2022-05-06 21:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
恩更
Python
非法发
Submitted by
anonymous
-
2 years ago
2022-05-07 02:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
完形填空
Python
完形填空
Submitted by
anonymous
-
2 years ago
2022-05-07 13:21
(Last modified 2 years ago)
2022-05-09 12:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
dice thing
Python
Stuff for a dnd thing
Submitted by
Cata
-
2 years ago
2022-05-09 00:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PO Number
Python
Detects specific prefixes followed by number series
Submitted by
anonymous
-
2 years ago
2022-05-09 09:35
(Last modified 2 years ago)
2022-05-09 09:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Credit Note
Python
Detects specific word in a sentence
Submitted by
anonymous
-
2 years ago
2022-05-09 09:31
(Last modified 2 years ago)
2022-05-09 09:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Postcode (UK)
Python
Detects UK postcodes (minimal edge cases)
Submitted by
anonymous
-
2 years ago
2022-05-09 09:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract VK.com community ID
Python
Extract the numerical ID of a VK Commmunity fromit's wall url.
Submitted by
anonymous
-
2 years ago
2022-05-11 12:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
使用した正規表現
PCRE (PHP <7.3)
用例の検索のために使用した正規表現です。
Submitted by
anonymous
-
2 years ago
2022-05-11 14:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CDATA Matcher
Java 8
Matches CDATA sections while disallowing nesting
Submitted by
anonymous
-
2 years ago
2022-05-16 16:06
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
-
2 years ago
2022-05-17 04:45
(Last modified 5 months ago)
2023-07-19 13:51
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
-
2 years ago
2022-05-20 14:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
2 years ago
2022-05-20 15:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
2 years ago
2022-05-22 04:33
(Last modified 2 years ago)
2022-05-22 04:43
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
-
2 years ago
2022-05-25 22:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extraire les informations du chemin d'une photo
PCRE (PHP <7.3)
Extraire les informations du chemin d'une photo.
Submitted by
Nicolas
-
2 years ago
2022-05-27 17:04
1
...
551
552
553
554
555
556
557
...
575
Matching %d-%b date format
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
\b
(
0
?
[
1
-
9
]
|
[
12
]
[
0
-
9
]
|
3
[
01
]
)
\b
-
(
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
)
"
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
Justin Copeland
-
2 years ago
2022-05-25 22:36