Regular Expressions 101

Community Patterns

Hexadecimal code

0

Regular Expression
PCRE (PHP <7.3)

/
[0-9a-f]{4}
/
gm

Description

4 "digit" hexadecimal code

Submitted by anonymous - 3 years ago