I'm trying to make a program in c to read in from text a large database of ice rink activities. Does anyone know how to check for something that is not in the format

ie the text document will have something like this

```
   sample
---------------------------------------------
date             startT    endT           END
_______________________________________________

Ice Rink 1

1/13/2014        1:50     3:50 PM              Public Skating

1/13/2014        1:50     3:50 PM              Game

ice rink 2

1/13/2014        1:50     3:50 PM              OPEN

```

I can already successfully read in one line of the event, date time and description
but how do I skip or detect the lines that don't match my scan in style of

```
fscanf(ifp,"%d/%d/%d\t%d:%d%s\t%d:%d%s\t\t  %20c",
&e1[i].month,&e1[i].day,&e1[i].year,&e1[i].startH,&e1[i].startM,e1[i].MER1,&e1[i].endH,&e1[i].endM,e1[i].MER2,e1[i].event);

```

In short: how do detect cases that don't match this exactly? 

Thanks in advance