I want to import a txt file and remove full lines (or any part of the line) which starts with "--".
as an example: (original)
ACTNUM -- Generated : Petrel
-- Property name in Petrel : R2_ACTNUM
2624*1 0 0 0 169*1 5*0 1 1 1 1 6*0 160*1 0 0 18*1 0 0 152*1 0 0 27*1 0 145*1 0 35*1 7*0 132*1 0 350*1 0 33*1 0 0 139*1 0 174*1 0 1
i want it to become:
ACTNUM
2624*1 0 0 0 169*1 5*0 1 1 1 1 6*0 160*1 0 0 18*1 0 0 152*1 0 0 27*1 0 145*1 0 35*1 7*0 132*1 0 350*1 0 33*1 0 0 139*1 0 174*1 0 1
I hope someone can help me out.