PHP Regex Validation of Hexadecimal Values / check hex number

preg_match( '/^[A-F0-9]{15,18}/',$v)

 

Screenshot 2015 05 10 10 53 23