Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^[0-9a-fA-F]{1,2}$|^[0-9a-fA-F]{1,2}\s+([0-9a-fA-F]{1,2}\s)*[0-9a-fA-F]{1,2}$
/
gm

Description

match like aa bb cc dd ee ff 00 aa 13 0 1 2 3 aa

Submitted by Victor Lin - 3 years ago