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,000 community submitted regex patterns...
1
DATE FORMAT REGEX ALL COMBINAISIONS
PCRE2 (PHP >=7.3)
For the day: d Displays the day as a number without a leading zero (1-31). dd Displays the day as a number with a leading zero (01-31). ddd Displays the day as an abbreviation (Sun-Sat) dddd Displays the day as a full name (Sunday-Saturday) ...
Submitted by
EYA GHACHEM
-
a year ago
1
FORMAT DATE WITH NO SEPARATOR
PCRE2 (PHP >=7.3)
For the day: d Displays the day as a number without a leading zero (1-31). dd Displays the day as a number with a leading zero (01-31). ddd Displays the day as an abbreviation (Sun-Sat) dddd Displays the day as a full name (Sunday-Saturday) ...
Submitted by
EYA GHACHEM
-
a year ago
1
EU VAT numbers
PCRE2 (PHP >=7.3)
Based on this expression and updated Oct 2023 using wikipedia
Submitted by
Henk-Jan @ Cargoplot
-
a year ago
1
CFF-definitions.reference.PMCID (1.3.0)
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.pmcid value in the Citation File Format (CFF), v1.3.0
Submitted by
stephan druskat, jurriaan h. spaaks
-
a year ago
1
Validate email address (unicode)
ECMAScript (JavaScript)
Validate unicode email addresses
Submitted by
anonymous
-
a year ago
(Last modified 4 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
INI Parser
PCRE2 (PHP >=7.3)
comments section key = value key = ltrim
Submitted by
foul11, raxdiam
-
a year ago
1
Get number user format
PCRE2 (PHP >=7.3)
Get number user format
Submitted by
blurzoom
-
a year ago
(Last modified a year ago)
1
12px
PCRE2 (PHP >=7.3)
查找替换
Submitted by
anonymous
-
a year ago
1
nomor telp lokal wakanda
ECMAScript (JavaScript)
indonesian telephone number
Submitted by
aku dewe
-
a year ago
1
testregexaa
PCRE2 (PHP >=7.3)
aaa
Submitted by
aaa
-
a year ago
1
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
-
a year ago
1
Repeat character with custom symbol
PCRE2 (PHP >=7.3)
OK
Submitted by
UVT
-
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
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
-
a year ago
(Last modified a year ago)
1
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
-
a year ago
(Last modified a year ago)
1
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
-
a year ago
(Last modified a year ago)
1
...
335
336
337
338
339
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?<houseNumber>
[
1
-
9
\p{L}
]
[
\d\p{L}
]
*
(?:
(?:
|
?
[
\-
/+,
]
?
)
[
\d\p{L}
]
+
)*
?
)
,
?
(?<street>
(?!
\d
+
)
[
\p{L}\d
'
\u2018-\u2019
]
+
\.
?
(?:
[
-
]
[
\p{L}\d
'
\u2018-\u2019
]
+
\.
?
)*
(?<!
\d
+
)
)
$
/
umg
Open regex in editor
Description
Validate and split street address (street and house number) with leading house number
Submitted by
anonymous
-
a year ago