>You may like to read this: http://www.amk.ca/python/howto/regex/ This is a good resource. Thank you. Someone else pointed out that I needed to change the if reCheck == "None": to if reCheck == None: # removed the "s This worked great! Thanks! --JM