in reply to Parsing an RTF File as plain text.

Why not use a something like RTF::Tokenizer to do the RTF heavy lifting?