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 17,420 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
打关随机数作弊用户uid列表
PCRE2 (PHP >=7.3)
打关随机数作弊用户uid列表
Submitted by
dong.luo
-
2 months ago
2023-10-19 07:53
(Last modified 2 months ago)
2023-10-19 08:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Ikea web Indonesia
PCRE2 (PHP >=7.3)
Ikea website indonesia url regex
Submitted by
ival
-
2 months ago
2023-10-19 05:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Youtube Video ID
Java 8
Extract youtube video ID
Submitted by
anonymous
-
2 months ago
2023-10-18 07:16
(Last modified a month ago)
2023-10-26 14:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Identificador de números decimales válidos
PCRE2 (PHP >=7.3)
Se soportan los números de la forma +2.3, +.34, 2.3, .5, -3.3, -.3
Submitted by
anonymous
-
2 months ago
2023-10-17 05:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Full HTML recognition for Udacity Project
PCRE2 (PHP >=7.3)
Udacity AI for Trading - Project 6: Analyzing Stock Sentiment from Twits ( Sentiment Analysis) needs a HTML parsering. Examples came from the actual course exercise. Future improvements I could identify, make it a group and parser each /texttext/ pattern, if necessary ← perhaps it may have some ...
Submitted by
Eduardo Passeto
-
2 months ago
2023-10-16 12:49
(Last modified 2 months ago)
2023-10-16 12:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Durbar Bagerhat
PCRE2 (PHP >=7.3)
/Explore the latest news and updates about Bagerhat on Durbar Bagerhat, your go-to source for insightful articles and information/gm
Submitted by
Faisal Hossain
-
2 months ago
2023-10-15 11:52
(Last modified 2 months ago)
2023-10-15 11:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Workaround for IIS rewrite rule redirects with urls
PCRE2 (PHP >=7.3)
Make sure http[s]:// uses two slashes, not one. IIS rewrite rules removes double slashes in the raw URL, breaking YOURLS (PHP) for example. This regexp changes all single slashes to double after a web protocol, including nested querystrings.
Submitted by
DeveloperDog
-
2 months ago
2023-10-12 07:48
(Last modified 2 months ago)
2023-10-12 09:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract tag name and its content
Python
Lrc file
Submitted by
Cricar
-
2 months ago
2023-10-12 04:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match each tag
Python
Match each tag in a lrc file
Submitted by
Cricar
-
2 months ago
2023-10-12 04:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
2 months ago
2023-10-12 04:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Repeat character with custom symbol
PCRE2 (PHP >=7.3)
OK
Submitted by
UVT
-
2 months ago
2023-10-12 03:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ipv4 and ipv6 with mask in CIDR
PCRE2 (PHP >=7.3)
Match and validate both ipv4, ipv6 and CIDR notation mask!
Submitted by
Stefanos Mitropoulos
-
2 months ago
2023-10-11 20:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
testregexaa
PCRE2 (PHP >=7.3)
aaa
Submitted by
aaa
-
2 months ago
2023-10-11 17:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
nomor telp lokal wakanda
ECMAScript (JavaScript)
indonesian telephone number
Submitted by
aku dewe
-
2 months ago
2023-10-11 09:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
LNAV Format for Salt Log File
Python
Beginnings of defining a log format for Salt to use within LNAV. https://docs.lnav.org/en/latest/formats.html
Submitted by
anonymous
-
2 months ago
2023-10-10 22:49
(Last modified 2 months ago)
2023-10-11 01:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
12px
PCRE2 (PHP >=7.3)
查找替换
Submitted by
anonymous
-
2 months ago
2023-10-09 06:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get number user format
PCRE2 (PHP >=7.3)
Get number user format
Submitted by
blurzoom
-
2 months ago
2023-10-08 04:28
(Last modified 2 months ago)
2023-10-09 06:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
INI Parser
PCRE2 (PHP >=7.3)
comments section key = value key = ltrim
Submitted by
foul11, raxdiam
-
2 months ago
2023-10-07 23:14
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Placeholder resolving
.NET (C#)
.Net regular expression for resolving placeholders in the format of ${rewriter(multilevel:key)?fallback} (+ variations)
Submitted by
anonymous
-
2 months ago
2023-10-07 19:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate and split street and house number (leading house number)
ECMAScript (JavaScript)
Validate and split street address (street and house number) with leading house number
Submitted by
anonymous
-
2 months ago
2023-10-07 12:03
1
...
3
4
5
6
7
8
9
...
871
image cid
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
(
src="cid:
)
.
*
?
(
.
+
?
(
\.
gif
|
\.
png
|
\.
jpg
)
)+
?
(
[^
"
]
*
)
`
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 years ago
2017-06-27 09:00