How to read data in known format from a file
Posted on 2004-09-14
I have a question regarding reading the file contents. The file contents are of the form
There are multiple entries in this format. Comments can spill over to the next line. There are entries which are not in this format but first I want to process entries in just in this format. I am only interested in
I want to extract this in a variable. Please show me how through code fragment.