John, Martin is right. Always try to solve without regex first. However, for those situations where you definitely need regex, use this tutorial:
http://www.amk.ca/python/howto/regex/ It's well-written, succinct, and Python-specific. rpd -- http://mail.python.org/mailman/listinfo/python-list