Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$
/

Description

16进制颜色

Submitted by anonymous - 5 years ago