Regular Expressions 101

Community Patterns

find single character

1

Regular Expression
PCRE (PHP <7.3)

/
[ ^][A-F0-9][ $]
/
g

Description

Why this regEx not find all single character? Why not work Start of string and End of string in bracket?

Submitted by anonymous - 9 years ago