changed regexp to identify is info is in HTML body or head