Remove lines in file

I have a file that contains the following:

Party_Id1;Party_id2;Party_id3;
1;2;3;
0
0
4;5;6;
0
7;8;9;

How can I adjust the file so it looks like this:

Party_Id1;Party_id2;Party_id3;
1;2;3;
4;5;6;
7;8;9;

I Think the '0' is something like a carriage return, I don't know. But how can I remove the '0's? I have tried sed

sed 's/$'"/`echo \\\r`/"file1.txt > file2.txt

With the sample that you posted, this should work:

grep \; file

But that is probably not what you input file looks like. Could you upload a sample?

Using sed:

sed '/^0$/d' file1.txt
Party_Id1;Party_id2;Party_id3;
1;2;3;
4;5;6;
7;8;9;