Regex Md5 Check

define('R_MD5_MATCH', '/^[a-f0-9]{32}$/i');

if((preg_match(R_MD5_MATCH, $Variable))
{TRUE}