Extract the format