Hi ,
i'm not a programmer , just want to eddit abit old script that left up.
i need a function can filter up those unwanted part in a text file with a input.
it will delete those section that i'm giving in input file.
Exp:
file i need to modify:
-------------------------------------------------------
Start1A
contents
end
Start2B
contents
end
Start3C
contents
end
-------------------------------------------------------
input file:
1A
3C
-------------------------------------------------------
output file:
Start2
contents
end
-------------------------------------------------------
i'm not a programmer , just want to eddit abit old script that left up.
i need a function can filter up those unwanted part in a text file with a input.
it will delete those section that i'm giving in input file.
Exp:
file i need to modify:
-------------------------------------------------------
Start1A
contents
end
Start2B
contents
end
Start3C
contents
end
-------------------------------------------------------
input file:
1A
3C
-------------------------------------------------------
output file:
Start2
contents
end
-------------------------------------------------------