Regular Expressions 101

Library entries

CSS Hex Color

Vote

1

Regular Expression
javascript

/
^#(([\da-fA-F]{3}){1,2}|([\da-fA-F]{4}){1,2})$
/

Description

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