Regular Expressions 101

Community Patterns

0

C######

PCRE2 (PHP >=7.3)
get C with numbers string
Submitted by Didier - 2 years ago
0

All

PCRE2 (PHP >=7.3)
all
Submitted by anonymous - 2 years ago
0

url-selection

PCRE2 (PHP >=7.3)
url-selection
Submitted by anonymous - 2 years ago
0

FindQuoteDiv

PCRE2 (PHP >=7.3)
FindQuoteDiv
Submitted by anonymous - 2 years ago
0

URL

PCRE2 (PHP >=7.3)
URL
Submitted by anonymous - 2 years ago
0

Look Ahead

PCRE2 (PHP >=7.3)
Look Ahead
Submitted by anonymous - 2 years ago

Detect RGB/RGBA colors in CSS

2

Regular Expression
PCRE2 (PHP >=7.3)

/
rgba?\((?<r>[.\d]+)[, ]+(?<g>[.\d]+)[, ]+(?<b>[.\d]+)(?:\s?[,\/]\s?(?<a>[.\d]+%?))?\)
/
ig

Description

Loading markdown...
Submitted by WinterSilence - 2 years ago