Thanks, everyone. This was my first real encounter with re's. I need to find a better tutorial than the api info for the re package. I will heed your advice and examine parsing libraries--didn't know they existed. Guess you really do get the kitchen sink with Python. :) Luke