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...
0
5-part regex for find/replace with @@.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
PHP_Exercise_2
PCRE (PHP <7.3)
For a test PHP for my school
Submitted by
Rick
-
7 years ago
0
PHP_Exercise_1
PCRE (PHP <7.3)
For a test PHP for my school
Submitted by
Rick
-
7 years ago
0
PHP_Exercise_2
PCRE (PHP <7.3)
For a test PHP for my school
Submitted by
Rick
-
7 years ago
0
TravelOnline - Extract TripId from file
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Remove all <php tags from html file
PCRE (PHP <7.3)
This regex is helpful to remove all tags
Submitted by
anonymous
-
7 years ago
0
smoothie oops
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
MK1 artist-album reducer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
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
1
...
142
143
144
145
146
...
900
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