Hey there
I need to make sure string X contains only hex chars 0-9 a-f .
Something like:
eregi("[0-9a-f]",
( which fails )
As it does not care if the string is all ZZZZ al long as it has one of those chars.
So anyway , anyone help?
preg_match ('/[0-9a-f]+/i', $X)
/[0-9a-f]+$/i
Yah, my mistake.