Johhny wrote: > Any advice would be great. Have you had a look at Python's re module? If you've not, I suggest you do so - it contains all of Python's regex tools which you'll need. Regards, -- Isaac