Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
0
大盘响应数据截取
PCRE2 (PHP >=7.3)
"https://finance.sina.com.cn/stock/"的响应数据 格式为-> var hq_str_s_sh000001="上证指数,3094.668,-128.073,-3.97,436653,5458126";
Submitted by
anonymous
-
3 years ago
1
Match range [1 ... 9999.99]
PCRE (PHP <7.3)
This helps matching numbers where decimals are optional
Submitted by
AndrewEastwood
-
3 years ago
0
Extraire les informations du chemin d'une photo
PCRE (PHP <7.3)
Extraire les informations du chemin d'une photo.
Submitted by
Nicolas
-
3 years ago
0
email regex
ECMAScript (JavaScript)
check mail regex
Submitted by
anonymous
-
3 years ago
(Last modified a year ago)
0
mr regexp
ECMAScript (JavaScript)
Рег
Submitted by
anonymous
-
3 years ago
1
Links
PCRE2 (PHP >=7.3)
Beginner way to highlight links
Submitted by
anonymous
-
3 years ago
2
Extract Rapidgator Links from a HTML web page (Works for rg.to and rapidgator.net)
PCRE2 (PHP >=7.3)
Click "open regex in editor" to open regex. Open a webpage containing Rapidgator Links - Either rg.to or rapidgator.net Right-click anywhere on the page and select "view page source" Copy the HTML markup containing the Rapidgator links to regex101.com Paste the HTML markup and set mode to match Loca...
Submitted by
SmartCoder
-
3 years ago
0
Shell multiline parser
ECMAScript (JavaScript)
Partially completed pattern for vscode-highlight
Submitted by
disco0
-
3 years ago
0
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
-
3 years ago
0
Matching %d-%b date format
Python
Matching %d-%b date format with or without leading 0 in the day
Submitted by
Justin Copeland
-
3 years ago
0
变成一行
ECMAScript (JavaScript)
把代码变成一行一个属性
Submitted by
naoyuyan
-
3 years ago
0
TTB fund acc 1
PCRE2 (PHP >=7.3)
my work space
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Find Duplicate Characters in String
ECMAScript (JavaScript)
Given a string, find the duplicate characters.
Submitted by
Matthew Hiebing
-
3 years ago
0
cookie parser
ECMAScript (JavaScript)
Parser for cookies; works in HTTP servers AND front end
Submitted by
lopste / Vercte
-
3 years ago
0
BIN ELO - 2022
ECMAScript (JavaScript)
Used to validate credit cards from ELO flag.
Submitted by
Searched in internet
-
3 years ago
1
Custom Commit ReGex
PCRE2 (PHP >=7.3)
Custom Commit ReGex Test
Submitted by
Kewal Rathod
-
3 years ago
(Last modified 3 years ago)
0
Normal URL
PCRE2 (PHP >=7.3)
Validates that all necessary parts of a "normal" domain are there (scheme, subdomain, secondary-level domain, top-level domain) and allows for additional subdirectories. Does not work for options like "mailto: example@email.com" or anything that does not stick to a typical web address URL.
Submitted by
Alexa J.
-
3 years ago
-1
213
PCRE2 (PHP >=7.3)
12312
Submitted by
anonymous
-
3 years ago
-1
1
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
3 years ago
0
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
3 years ago
1
...
140
141
142
143
144
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
(
[
0
-
9A
-
Fa
-
f
]
{2}
[
:-
]
){5}
(
[
0
-
9A
-
Fa
-
f
]
{2}
)
)
|
(
(
[
0
-
9
]
{2,3}
[
:-
]
){5}
(
[
0
-
9
]
{2,3}
)
)
)
/
gm
Open regex in editor
Description
mac address validation in hex or decimal form
Submitted by
planetwatch.io
-
3 years ago