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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 3,440 community submitted regex patterns...
-1
Email Regex
ECMAScript (JavaScript)
Email Validation Regex
Submitted by
anonymous
-
2 years ago
0
RGB 256 Function Notation
ECMAScript (JavaScript)
Standardized RGB 256 Notation for CSS Functions. For Example: const str = "255, 255, 255"; // Match const str = "0, 10, 200"; // Match...
Submitted by
anonymous
-
2 years ago
1
RGB 256 Color Format: Matches 24bit RGB Colors.
ECMAScript (JavaScript)
There are several ways to format 24bit RGB Colors, however, two of the formats are far more common in the wild than others. The 2 most common 24bit RGB formats are | FORMAT | Alt Name | Num Sys | | ------------------------ | -------------- | ------------ | | RGB Hex Format | HexColor...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
RGB Colors in Hex Format: 3 or 6 Hexadecimal Digits
ECMAScript (JavaScript)
Matches against RGB (not to be confused with RGBa). Will match against any and all RGB Hexadecimal Formatted colors. Some example of the values this regular expression was created to match are: "#FFFFFF", "#FFF", "#ABCDEF", "#123456", "#18F", "#812" MUST USE THE 'i' FLAG (insensitive) Without the ...
Submitted by
jD3V
-
2 years ago
(Last modified 2 years ago)
0
Get First Name
ECMAScript (JavaScript)
Grab a first name from a full name string
Submitted by
Tom
-
2 years ago
0
JavaScript Parse CSS Selector
ECMAScript (JavaScript)
Parse CSS Selector in the form element#id.class into its components. Any of the three elements can be missing.
Submitted by
Mark
-
2 years ago
0
Default HTML5 with German Umlauts
ECMAScript (JavaScript)
Adds german special characters äöüß to the default HTML5 regex
Submitted by
mroettgen
-
2 years ago
0
Clean phone numbers
ECMAScript (JavaScript)
(204)555-5555 (204)-(555)-(5555) 204-555-5555 To: 2045555555
Submitted by
smitpatelx
-
2 years ago
1
phone regex
ECMAScript (JavaScript)
phone regex
Submitted by
antiai
-
2 years ago
0
get teacher url
ECMAScript (JavaScript)
will match ^/teacher//list$ ^/teacher//file/$ ^/teacher//info/$ ...
Submitted by
anonymous
-
2 years ago
0
Website Regex
ECMAScript (JavaScript)
Finds all website URLs
Submitted by
JohnnyJTH
-
2 years ago
0
QueryString and Datasource
ECMAScript (JavaScript)
asdasd
Submitted by
anonymous
-
2 years ago
0
Matches everything but digits and allows for one decimal point.
ECMAScript (JavaScript)
Matches everything but digits and allows for one decimal point. cannot start with a negative Allowed: 123...
Submitted by
Random Guy 70hz
-
2 years ago
0
Positive Integer
ECMAScript (JavaScript)
(/^\d{0,}(([.]{1})?\d?){0,}$/gi
Submitted by
Wasiu Ramoni
-
2 years ago
0
div change to button
ECMAScript (JavaScript)
div change to button
Submitted by
mtac
-
2 years ago
0
WinSCP file list parse
ECMAScript (JavaScript)
Capture details of file sizes and names from a ls listing from WinSCP
Submitted by
anonymous
-
2 years ago
0
Match markdown link
ECMAScript (JavaScript)
Regex match markdown link
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Match Internal Links
ECMAScript (JavaScript)
Detect internal links in page
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
分组
ECMAScript (JavaScript)
显示分组
Submitted by
Jason
-
2 years ago
0
CSS base64 data stream
ECMAScript (JavaScript)
Match Base64 data stream inside CSS file (WOFF/WOFF2)
Submitted by
Anoir Ben Tanfous
-
2 years ago
1
...
24
25
26
27
28
...
172
Website Regex
0
Regular Expression
ECMAScript (JavaScript)
/
(
https
?
:
\/\/
)?
(
www
\.
)
[
-a
-
zA
-
Z0
-
9@:%._
\+
~#=
]
{2,256}
\.
[
a
-
z
]
{2,4}
\b
(
[
-a
-
zA
-
Z0
-
9@:%_
\+
.~#?&
\/
=
]
*
)
|
(
https
?
:
\/\/
)?
(
www
\.
)?
(?!
ww
)
[
-a
-
zA
-
Z0
-
9@:%._
\+
~#=
]
{2,256}
\.
[
a
-
z
]
{2,4}
\b
(
[
-a
-
zA
-
Z0
-
9@:%_
\+
.~#?&
\/
=
]
*
)
/
gm
Open regex in editor
Description
Finds all website URLs
Submitted by
JohnnyJTH
-
2 years ago