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
Array dectection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Fail on 2nd Dot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
detect potential li tags from clipboard
PCRE (PHP <7.3)
this can be used to detect what could be interpreted as from the clipboard
Submitted by
anonymous
-
6 years ago
0
capture all li tags from a text
PCRE (PHP <7.3)
this can be used to capture all li items in a text and then wrap them in a ul tag.
Submitted by
anonymous
-
6 years ago
0
Second Occurrence
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Fetch background-image URL [100%]
PCRE (PHP <7.3)
The best background-image fetch in here I've not yet seen a website on which this RegEx don't work. If you do I'll be pleased to see it
Submitted by
anonymous
-
6 years ago
0
Match everything but not certain characters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Finding relative filepaths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Test string contains Instapage URLs
ECMAScript (JavaScript)
Purpose List of Instapage URLs for testing against Todo Add www urls
Submitted by
anonymous
-
6 years ago
0
is absolute url
ECMAScript (JavaScript)
found in https://stackoverflow.com/a/14720951/10715454 check string for absolute url (with domain and such) true example.com...
Submitted by
https://stackoverflow.com/users/114251/arun-p-johny
-
6 years ago
0
release stuff
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
tld
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
UK Postcode
PCRE (PHP <7.3)
Matches the following UK post code formats: A9 9AA A9A 9AA A99 9AA AA9 9AA AA9A 9AA...
Submitted by
anonymous
-
6 years ago
0
UK Postal address
PCRE (PHP <7.3)
Matches single line and mutliline UK postal address as long as they start with a number. For example: 1 Test Street Test Town AA1 1AA ...
Submitted by
anonymous
-
6 years ago
0
hello
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
AutolikesIG PHP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Yes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Yes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
No
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
No
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
556
557
558
559
560
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(?:
(
www
\.
)
)
|
(?:
(?:
^
https:
\/\/
www
\.
)
|
(?:
^
https:
\/\/
)?
)
(
[
\w
]
+
){1}
(?:
\.
[
\w
]
+
){2,}
/
ig
Open regex in editor
Description
Matches all subdomains (specifically in group 2) excluding www
Submitted by
AurielleP
-
7 years ago