I want to know what to do if i have some content in a text file, i wish to preprocess it by removing certain things. from the file
the text file has content as shown below
sub_401000 proc near ; CODE XREF: sub_4021FD+7Fp
; sub_403366+40Dp ...
loc_401019: ; CODE XREF: sub_401000+20j
I want to remove the content from all those lines that appear after the semicolon. There are multiple statements of different type appearin before the semicolon.