>I used to > write text filters in C and Lex for my previous employer - one of these days > I will figure out how to extend python with C and do this. Here's one that's written entirely in Python: http://www.cosc.canterbury.ac.nz/~greg/python/Plex/ I've seen a couple of other implementations out there. --jfarr