change this:
Code: 
 preg_match('/F[0-9]+/', html_entity_decode($result), $match)
to this:

Code: 
 preg_match('/F[a-zA-Z0-9]+/', html_entity_decode($result), $match)