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,660 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
a month ago
2023-11-05 16:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
a month ago
2023-11-05 12:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
OpenWeather API Key Regex
ECMAScript (JavaScript)
A simple regex to match API keys for OpenWeather map. Matches 32 hexadecimal character strings.
Submitted by
anonymous
-
a month ago
2023-10-24 14:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Roblox Account Cookie RegExp
ECMAScript (JavaScript)
A regex to match against Roblox cookies. Two captures; the first is the warning text; the second is the cookie itself.
Submitted by
anonymous
-
a month ago
2023-10-24 13:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Discord Bot Token
ECMAScript (JavaScript)
JS/TS regex for token validation.
Submitted by
anonymous
-
a month ago
2023-10-24 12:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
hyphenize
ECMAScript (JavaScript)
convert 16 chars into four hyphen separated groups
Submitted by
mco
-
a month ago
2023-10-23 13:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
English address
ECMAScript (JavaScript)
English address that can start with numbers, # sign or words (\w) followed with any combination of previously mentioned. Multi-line, global and case insensitive supported. Address CANNOT START WITH \w character _ or 0 or any other symbols
Submitted by
Dr St Clair Clarke
-
2 months ago
2023-10-19 21:59
(Last modified 2 months ago)
2023-10-19 22:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
REGEX for parsing Received value in email headers (RFC822)
ECMAScript (JavaScript)
Example: Received: from VI1PR0102CA0029.eurprd01.prod.exchangelabs.com (2603:10a6:802::42) by VE1PR01MB5599.eurprd01.prod.exchangelabs.com (2603:10a6:803:11f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Thu, 9 Jan ...
Submitted by
anonymous
-
2 months ago
2023-10-19 08:27
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)
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)
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)
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
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate and split street and house number (trailing house number)
ECMAScript (JavaScript)
Validate and split street address (street and house number) with trailing house number
Submitted by
anonymous
-
2 months ago
2023-10-07 11:53
(Last modified 2 months ago)
2023-10-07 12:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate email address (unicode)
ECMAScript (JavaScript)
Validate unicode email addresses
Submitted by
anonymous
-
2 months ago
2023-10-07 11:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
goff
ECMAScript (JavaScript)
[ [ { "content": "_}24I:9t58Tu?m@e", "isParticipating": true, "groupNum": 0,...
Submitted by
anonymous
-
2 months ago
2023-10-04 05:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Alpha Numeric With Spaces & Limited Punctuation
ECMAScript (JavaScript)
This allows multiple continuous strings of only alpha numeric characters & limiting punctuation to: ?().,'+ /:@-
Submitted by
anonymous
-
2 months ago
2023-09-27 22:04
(Last modified 2 months ago)
2023-10-04 16:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match each Unicode Characters, Symbols, and Emojis consecutively
ECMAScript (JavaScript)
RegExp matches each (combined) Unicode symbol, character, or emoji consecutively. Note: there are some edge cases where it does not combine some symbols that should be seen as one symbol (after Default Grapheme Cluster Boundary of UAX #29). For Unicode code point info see codepoints.net Also, see ...
Submitted by
MAZ01001
-
2 months ago
2023-09-26 02:02
1
2
3
4
5
...
283
0及最多6位正负整数
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
(
0
|
-
?
[
1
-
9
]
[
0
-
9
]
{0,5}
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 months ago
2023-05-18 03:35