Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[0-9a-f]+$
/
gy

Description

Only matches if the entire string is in hexadecimal format

Submitted by anonymous - a day ago