Thanks Steve, That's odd that there's no built-in method to do this. It seems like it would be a common task. Is there any way to request a feature like this from the RE module keepers, whomever they may be? In the meantime, may I use your code, with accredation to you? Thanks, Chris
-- http://mail.python.org/mailman/listinfo/python-list