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,020 community submitted regex patterns...
0
Docker Image Repo URL
PCRE2 (PHP >=7.3)
This was written for the iTerm2 Smart Selection
Submitted by
anonymous
-
3 years ago
0
Match CLI argument to
Java 8
Matches argumetn to as: -t to -t= ...
Submitted by
rperez-torro
-
3 years ago
0
SharePoint On-Premise Validator
ECMAScript (JavaScript)
SharePoint On-Premise Validator
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
DTM Validation
PCRE2 (PHP >=7.3)
DTM Validation
Submitted by
Mike Cheel
-
3 years ago
0
aliasFormat
PCRE2 (PHP >=7.3)
Based on 'Allow only letters from A to Z, numbers from 0 to 9 , hyphen, dash, underscore and the period.'
Submitted by
Arturo Acuña
-
3 years ago
(Last modified 3 years ago)
0
android色值匹配
PCRE2 (PHP >=7.3)
android中色值匹配正则表达式 #ff123456 #ffffff #123 #1234
Submitted by
wangmeng
-
3 years ago
0
SMB share parsing
PCRE2 (PHP >=7.3)
A regex for parsing SMB shares
Submitted by
Drav Sloan
-
3 years ago
0
Python string regex with escaped characters
Python
string regex but you can escape characters like \", for python only
Submitted by
Fxomt
-
3 years ago
(Last modified 3 years ago)
0
Informational Query Regex
PCRE2 (PHP >=7.3)
Show queries that defines user intent for informational queries
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Navigational Query Regex
PCRE2 (PHP >=7.3)
Show queries that define user intent based on navigation
Submitted by
anonymous
-
3 years ago
0
Commercial Query Regex
PCRE2 (PHP >=7.3)
Show queries that define different user intent based on commercial queries.
Submitted by
anonymous
-
3 years ago
0
Transactional
PCRE2 (PHP >=7.3)
View queries based on intent for transactional queries
Submitted by
anonymous
-
3 years ago
0
Check for content injections
PCRE2 (PHP >=7.3)
Check to see if site has been compromised with injected content
Submitted by
anonymous
-
3 years ago
0
Check WP Admin URLs
PCRE2 (PHP >=7.3)
Check WP admin pages that are indexed
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Search Queries that begin with a particular keyword
PCRE2 (PHP >=7.3)
Find search queries that begin with a specific keyword/keywords
Submitted by
anonymous
-
3 years ago
0
Find queries that end with
PCRE2 (PHP >=7.3)
Find Search Queries that ends with a particular keyword or keywords
Submitted by
anonymous
-
3 years ago
0
finding video names
ECMAScript (JavaScript)
Should find any video names
Submitted by
anonymous
-
3 years ago
0
Extract registration and model
ECMAScript (JavaScript)
Capture registration and aircraft model
Submitted by
Federico Villa
-
3 years ago
(Last modified 3 years ago)
0
Validate email
PCRE2 (PHP >=7.3)
Regex for email validation
Submitted by
anonymous
-
3 years ago
0
YouTube vid length
ECMAScript (JavaScript)
as found in: https://youtube.com/watch?v=${videoID}&persist_app=1&app=m to search for video time in minutes & seconds
Submitted by
tomByrer
-
3 years ago
(Last modified 3 years ago)
1
...
415
416
417
418
419
...
901
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
rgba
?
\(
(
(
[
+-
]
?
\d
+
(
\.
\d
+
)?
)
,
\s
*
){2}
[
+-
]
?
\d
+
(
\.
\d
+
)?
(
,
\s
*
(
0
?
\.
\d
|
[
01
]
)
)?
\)
$
/
Open regex in editor
Description
CSS RGB Color Regex for JS
Supports RGB and RGBA syntax (identical in CSS Color Module Level 4)
Well tested
Allows for decimal values
Currently does not support percentage values or CSS Color Module Level 4 white-space syntax
Submitted by
anonymous
-
5 years ago