Checking if response is first a string before running preg_match on it.