in reply to OFX/SGML Parse

I would try converting the SGML part of the message in XML so you can use XML tools on it.

Converting SGML to XML can be very easy... or a real PITA, depending on the usage of SGML-specific features used in the SGML. And I am not even talking obscure stuff, but just things like &amp foo which is valid SGML (the space after the entity allows an SGML parser to infer the missing ';').

So here are your options:

Replies are listed 'Best First'.