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 2,280 community submitted regex patterns...
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)
Length > 4 chars
Java 8
Accounts for any character 4 times and not 'null'
Submitted by
anonymous
-
a year ago
2022-06-01 14:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
lua_pattern
Python
lua file name
Submitted by
anonymous
-
a year ago
2022-06-01 11:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Add gcache.size to Galera Cluster node config
Python
Regexp to add gcache.size to Galera cluster config, using Ansible's replace module
Submitted by
Aurelio Llorente
-
a year ago
2022-06-02 15:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Any mobile number extraction
Python
extracting mobile number along with country code
Submitted by
anonymous
-
a year ago
2022-06-03 21:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email id extraction
Python
extracting email id from given string
Submitted by
anonymous
-
a year ago
2022-06-03 21:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
phone number matcher
Java 8
phone number matcher
Submitted by
anonymous
-
a year ago
2022-06-06 11:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parsing text between '[' and ']' unlimited number of times
Python
Using capturing group to match any text between [ and ] Test string '([Total Revenue] + [COGS] + [Distribution Costs] + [Sales Force Costs] + [A&P Costs] + [NDA Affairs Costs] + [Other Operating Costs]) * - [NDA share]'
Submitted by
anonymous
-
a year ago
2022-06-07 11:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SAFE Parsing
Python
Parsing data in SAFE text file
Submitted by
anonymous
-
a year ago
2022-06-08 10:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Flight Number Regex for Java and Tests
Java 8
A regex string to validate flight number
Submitted by
Jose Sousa
-
a year ago
2022-06-08 13:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
提取js中的内容
Python
获取变量值等
Submitted by
anonymous
-
a year ago
2022-06-08 16:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Procurar por IPv4
Python
Match em um IPv4 válido
Submitted by
anonymous
-
a year ago
2022-06-09 04:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TCN Match
Python
Extract info about STP TCNs
Submitted by
anonymous
-
a year ago
2022-06-10 15:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MAC Address
Python
Simple MAC address match/parsing expression
Submitted by
cwichel
-
a year ago
2022-06-13 21:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
urn_path_splitting
Python
split a URN with one or more parts separated by colon
Submitted by
anonymous
-
a year ago
2022-06-13 23:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pesquisar CPF com máscara
Python
Achar o CPF com mascara em um documento PDF.
Submitted by
anonymous
-
a year ago
2022-06-14 04:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RegexNumberDecimal
Java 8
For two digits in regex in decimal places two and allow two digits before that point decimal
Submitted by
anonymous
-
a year ago
2022-06-15 16:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tiktok video regex
Python
Extract the id only from the necessary and supported links oembed tool provided by tiktok to embed these videos
Submitted by
Oscar David Garces Gomez - FB@soyvillareal
-
a year ago
2022-06-17 02:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
scrape pdf
Python
get data from pdf
Submitted by
anonymous
-
a year ago
2022-06-17 09:22
1
...
96
97
98
99
100
101
102
...
114
FiveM cfx.re/join Link Regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(?:
http://
|
https://
)?
(?:
www
\.
)?
cfx
\.
re/join/
[
a
-
z0
-
9:
]
{6}
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Johnny_JTH
-
a year ago
2022-06-27 11:04