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)
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)
6 Digit Numeric Length
ECMAScript (JavaScript)
This Test will check is the given string is Exactly of 6 digits & all chars are Numbers. use case OTP Validations.
Submitted by
anonymous
-
a year ago
2022-06-02 06:02
(Last modified a year ago)
2022-06-03 00:48
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)
UPI ID regex
ECMAScript (JavaScript)
regex to detect or extract UPI ID
Submitted by
anonymous
-
a year ago
2022-06-03 14:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tizen Package ID Requirements
ECMAScript (JavaScript)
These are the requirements for a Tizen Pacakge ID of type applicationIdType This type expects pattern '[0-9a-zA-Z]{10}.{1,52}'
Submitted by
sherwino
-
a year ago
2022-06-03 15:41
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)
域名规则
ECMAScript (JavaScript)
域名规则
Submitted by
anonymous
-
a year ago
2022-06-06 06:19
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)
提取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)
Find lines with more than two dots
ECMAScript (JavaScript)
more than two dots
Submitted by
Leonard Deutsch
-
a year ago
2022-06-09 13:38
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)
img html tag to xml
ECMAScript (JavaScript)
img html tag to xml Make sure it is an img tag before proceed
Submitted by
anonymous
-
a year ago
2022-06-12 08:40
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)
Parse html tag attributes into key:value pairs
ECMAScript (JavaScript)
([a-zA-Z\//]){0}\s(?[a-zA-Z]+)=?("(?[A-Za-z\d\s;:.\-\/\\%]*)")?
Submitted by
anonymous
-
a year ago
2022-06-16 07:56
(Last modified a year ago)
2022-06-17 09:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Validation JS
ECMAScript (JavaScript)
Domain can be an IP address, except 0.0.0.0 Domain with length of 1 accepted Only acceptable symbol in Domain is "-" (hyphen) Not allowed in start, end or twice in a row (same for "." (dot))...
Submitted by
Artur
-
a year ago
2022-06-29 09:42
(Last modified a year ago)
2022-10-12 09:17
1
...
251
252
253
254
255
256
257
...
280
test for binary number divisible by 3
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
1
(
01
*
0
)*
1
(
11
)*
0
*
)+
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-05-03 18:02
(Last modified 2 years ago)
2021-05-03 18:03