$string = preg_replace( '/^(\xef\xbb\xbf)/', '', $string );