expanding hash regex to alphanumeric