Regular Expressions 101

Sponsors

Library entries

3
pcre2

Email

email format control
Submitted by ahmetbarut - a year ago
3
pcre2

example

example
Submitted by anonymous - a year ago
4
pcre2

CloudFlare

Cloud Flare
Submitted by anonymous - a year ago

Detect RGB/RGBA colors in CSS

Vote

2

Regular Expression
pcre2

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

Description

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