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
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
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
Extract tag name and its content
Python
Lrc file
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
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
a year ago
1
Repeat character with custom symbol
PCRE2 (PHP >=7.3)
OK
Submitted by
UVT
-
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
testregexaa
PCRE2 (PHP >=7.3)
aaa
Submitted by
aaa
-
a year ago
1
nomor telp lokal wakanda
ECMAScript (JavaScript)
indonesian telephone number
Submitted by
aku dewe
-
a year ago
1
12px
PCRE2 (PHP >=7.3)
查找替换
Submitted by
anonymous
-
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
INI Parser
PCRE2 (PHP >=7.3)
comments section key = value key = ltrim
Submitted by
foul11, raxdiam
-
a year ago
3
Placeholder resolving
.NET 7.0 (C#)
.Net regular expression for resolving placeholders in the format of ${rewriter(multilevel:key)?fallback} (+ variations)
Submitted by
anonymous
-
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
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 email address (unicode)
ECMAScript (JavaScript)
Validate unicode email addresses
Submitted by
anonymous
-
a year ago
(Last modified 3 months 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
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
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
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
...
35
36
37
38
39
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?<street>
(?!
\d
+
)
[
\p{L}\d
'
\u2018-\u2019
]
+
\.
?
(?:
[
-
]
[
\p{L}\d
'
\u2018-\u2019
]
+
\.
?
)*
(?<!
\d
+
)
)
,
?
(?<houseNumber>
[
1
-
9
\p{L}
]
[
\d\p{L}
]
*
(?:
(?:
|
?
[
\-
/+,
]
?
)
[
\d\p{L}
]
+
)*
?
)
$
/
umg
Open regex in editor
Description
Validate and split street address (street and house number) with trailing house number
Submitted by
anonymous
-
a year ago
(Last modified a year ago)