Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?:(?:rgb\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3})\))|(?:rgba\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?([0-1]\.0|0\.[0-9])\)))
/
gm

Description

no description available

Submitted by anonymous - 6 years ago