in reply to Re: Re: Parsing a Text File
in thread Parsing a Text File

Opps, I meant...
if(/^([A-Z]+)\s*$/)
To prevent a line starting with a capitol letter but having other stuff... but to allow a whitespace after the marker, just in case.
                - Ant