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,040 community submitted regex patterns...
0
matchEmailAddress
PCRE (PHP <7.3)
Match an email address
Submitted by
SwiJ
-
7 years ago
0
iOS/macOS Indic character crash exploit detection 2018-02-12
PCRE (PHP <7.3)
This PHP regex will match any string that contains Indic character combinations known to crash many iOS applications as of 11.2.5 and certain macOS combinations as of 10.13.3. The crash occurs in CoreText. Notes This regex will only work if you use the x and u modifiers. Example: "/regex-goes-he...
Submitted by
Paul Buonopane @ NamePros
-
7 years ago
0
iOS/macOS Indic character CoreText crash exploit detection 2018-02-12
PCRE (PHP <7.3)
This PHP regex will match any string that contains Indic character combinations known to crash many iOS applications as of 11.2.5 and certain macOS combinations as of 10.13.3. The crash occurs in CoreText. Notes This regex will only work if you use the x and u modifiers. Example: "{regex-goes-he...
Submitted by
Paul Buonopane @ NamePros
-
7 years ago
0
Tailwind Padding sm/md/lg find and replace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
mvr wip
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
mvr wip lineage
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Regex Match all characters between two strings
Python
(location=)(.*)(%2C%20TX) 'https://www.airbnb.com/rooms/18520444?location=Cleveland%2C%20TX'
Submitted by
anonymous
-
7 years ago
0
The dot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
The multiplier
PCRE (PHP <7.3)
Will match anything after p
Submitted by
anonymous
-
7 years ago
0
[Wikipedia] Article descriptive tokenizer
PCRE (PHP <7.3)
Match patterns of form "{% sentence_prefix %} (is|are) (a|the) {% description_of_prefix %}". Should almost always match part of the first sentence of a Wikipedia article.
Submitted by
anonymous
-
7 years ago
0
Find text between double square brackets in php
PCRE (PHP <7.3)
Find text between double square brackets in php
Submitted by
Depict
-
7 years ago
0
PHP .htaccess
PCRE (PHP <7.3)
no description available
Submitted by
ToniApps Studios
-
7 years ago
0
Regex captures numbers only
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Klippel file parsing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Force a CIDR block of 10.###.0.0
ECMAScript (JavaScript)
This will force a cidr block in the 10.x.0.0 range. Very useful if you restrict your cidr block to 10.x.0.0 in cloudformation (AWS).
Submitted by
Alex Dixon
-
7 years ago
0
Q2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
ESI matching
PCRE (PHP <7.3)
Pages that should be ESI processed.
Submitted by
anonymous
-
7 years ago
0
MLSSA file type
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Last '?' before '\n'
PCRE (PHP <7.3)
no description available
Submitted by
maffei2443
-
7 years ago
0
Multiple PNR extract from file
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
469
470
471
472
473
...
902
Community Library Entry
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago