I used "pyparsing" for one of my parsing project. It is easy to learn and use. -- mks -- On Thu, Feb 11, 2010 at 3:15 AM, Joe Steeve <joe_steeve at gmx.net> wrote: > > Balachandar <balachandarlinks at gmail.com> writes: >> into tokens.I need to process the tokens to identify some >> predefined patterns.