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 5,720 community submitted regex patterns...
1
Python Print String arg extraction
Python
Extract substitution parameters from python print strings works with fstrings old style format strings old style %(variable) strings
Submitted by
Giles Knap
-
a year ago
1
Improvement on Python Print substitution argument matching
Python
Get the python substitution strings from inside of print statements. Replace the whole substitution string with {{ ArgumentName }} for use in a Jinja2 rendering. Supports fstrings...
Submitted by
Giles Knap
-
a year ago
1
Alpha Numeric With Spaces & Limited Punctuation
ECMAScript (JavaScript)
This allows multiple continuous strings of only alpha numeric characters & limiting punctuation to: ?().,'+ /:@-
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
goff
ECMAScript (JavaScript)
[ [ { "content": "_}24I:9t58Tu?m@e", "isParticipating": true, "groupNum": 0,...
Submitted by
anonymous
-
a year ago
1
Validate email address (unicode)
ECMAScript (JavaScript)
Validate unicode email addresses
Submitted by
anonymous
-
a year ago
(Last modified 2 months ago)
1
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
-
a year ago
(Last modified a year ago)
1
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
-
a year ago
1
nomor telp lokal wakanda
ECMAScript (JavaScript)
indonesian telephone number
Submitted by
aku dewe
-
a year ago
1
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
a year ago
1
Match each tag
Python
Match each tag in a lrc file
Submitted by
Cricar
-
a year ago
1
Extract tag name and its content
Python
Lrc file
Submitted by
Cricar
-
a year ago
1
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
-
a year ago
1
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
-
a year ago
(Last modified a year ago)
1
hyphenize
ECMAScript (JavaScript)
convert 16 chars into four hyphen separated groups
Submitted by
mco
-
a year ago
1
Rust Phone Number
Rust
not fully featured, but simple.
Submitted by
Jakersnell
-
a year ago
1
Discord Bot Token
ECMAScript (JavaScript)
JS/TS regex for token validation.
Submitted by
anonymous
-
a year ago
1
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 year ago
1
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 year ago
1
Kafka loki parser
Golang
Kafka loki parser
Submitted by
anonymous
-
a year ago
1
Rust type-like ident casing
Rust
Matches built-in primitives and identifiers with casing conventionally used for type/constant names.
Submitted by
Neel Yadav
-
a year ago
1
...
93
94
95
96
97
...
286
Community Library Entry
0
Regular Expression
Python
r"
^
(?:
https
?
:
\/\/
)?
(?:
[^
@
\/
\n
]
+
@
)?
(?:
www
\.
)?
(
[^
:
\/
?
\n
]
+
)
"
igm
Open regex in editor
Description
From
link
Get domain from url start with: http, https, www, or abc:abc.google.com
Submitted by
anonymous
-
3 years ago