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,820 community submitted regex patterns...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Find external resources in styles
ECMAScript (JavaScript)
Finds all external resources declared as url() in styles. Handles different quote types if any, even escaped ones: url(...) url('...') url("...") url(\'...\') url(\"...\")
Submitted by
anonymous
-
a year ago
2022-06-23 14:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Path shortener
PCRE2 (PHP >=7.3)
Used to shorten a path before printing it. Useful to know where we are without printing a 10km path to the screen !
Submitted by
totok
-
a year ago
2022-06-23 09:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RegEX_CPF (Formatação opcional)
PCRE2 (PHP >=7.3)
Match 1: 123.465.789-00 Group 1: 123.465.789-00 Group 2: 123 Group 3: 456 Group 4: 789 Group 5: 00
Submitted by
BAWB.io
-
a year ago
2022-06-22 20:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Barcode Regex
PCRE2 (PHP >=7.3)
Barcode Regex
Submitted by
anonymous
-
a year ago
2022-06-22 15:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
todos and tags in code
PCRE2 (PHP >=7.3)
todos and tags in code
Submitted by
anonymous
-
a year ago
2022-06-22 12:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Note Body HTML
PCRE2 (PHP >=7.3)
Match all valid HTML tags
Submitted by
anonymous
-
a year ago
2022-06-21 21:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Select everything after "=" to the end of the line
PCRE2 (PHP >=7.3)
Select everything after "=" to the end of the line
Submitted by
anonymous
-
a year ago
2022-06-21 19:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get oneoff link
PCRE2 (PHP >=7.3)
Retrieves the path of the oneoff from a fastfile using the "android upload_to_s3" lane
Submitted by
Sebastian Silbermann
-
a year ago
2022-06-21 15:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get connection string form global.asa
PCRE2 (PHP >=7.3)
get connection string form global.asa for vb
Submitted by
Yassine Naji
-
a year ago
2022-06-21 15:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
8~20的数字+小写字母+大写字母+可选其他字符
PCRE2 (PHP >=7.3)
如果要指定可选的特殊字符,把| 后面的 酌情替换
Submitted by
devwolf__copy-by_天涯孤雁
-
a year ago
2022-06-21 01:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
scss class matching
PCRE2 (PHP >=7.3)
scss class matching
Submitted by
lucas
-
a year ago
2022-06-20 15:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
First name Universal
PCRE2 (PHP >=7.3)
This Regex is for first name and last name with multiple spaces
Submitted by
Tej
-
a year ago
2022-06-20 15:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Time regex
PCRE2 (PHP >=7.3)
Regex that selects hour, minute, second, and Meridiem Indicator from a string.
Submitted by
PieterT2000
-
a year ago
2022-06-20 10:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
lat cyr letters
Java 8
only lat and cyr letters
Submitted by
anonymous
-
a year ago
2022-06-20 05:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ipv4 match
PCRE2 (PHP >=7.3)
ipv4 match
Submitted by
anonymous
-
a year ago
2022-06-20 04:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find WikiRace baseURL
ECMAScript (JavaScript)
https://github.com/d-k-bo/WikiRace
Submitted by
anonymous
-
a year ago
2022-06-19 15:09
(Last modified a year ago)
2022-07-27 11:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Placas de veículos do Brasil (Mercosul e pré-Mercosul)
PCRE2 (PHP >=7.3)
Expressão regular baseada na publicada no artigo REGEX para Placas Brasileiras (incluindo Mercosul) de Ricardo Coelho.
Submitted by
Lucas Miranda <https://github.com/liddack>
-
a year ago
2022-06-19 01:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
whitespace only lines
PCRE2 (PHP >=7.3)
Matches whitespace only lines common to annoying website code.
Submitted by
anonymous
-
a year ago
2022-06-18 22:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LinkedIn Profile Url
Java 8
LinkedIn Profile Url
Submitted by
Morons
-
a year ago
2022-06-18 09:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Instagram Profile Url Test
Java 8
Testing all known Variations of Instagram Profile Url's
Submitted by
CryptoCode
-
a year ago
2022-06-18 09:13
1
...
77
78
79
80
81
82
83
...
291
match ipv4|匹配ipv4
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?:
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
\.
){3}
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
[
0
-
1
]
?
[
0
-
9
]
?
[
0
-
9
]
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
nihuge
-
2 years ago
2022-05-11 01:50