Regular Expressions 101

Library entries

CSS RGB Color

Vote

1

Regular Expression
javascript

/
^rgba?\((([+-]?\d+(\.\d+)?),\s*){2}[+-]?\d+(\.\d+)?(,\s*(0?\.\d|[01]))?\)$
/

Description

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