Too many problems with parsing of string. Change from preg_match to more 'brute force' string routines