Regular expressions help

Mike Hearne mhearne808 at yahoo.com
Tue Feb 24 13:54:45 EST 2004


Given the following three lines:

name fredgeorge
name georgeharry
name george

I'm trying to find a regular expression that matches only the third
one.

My book resources are pretty skimpy when it comes to regular
expressions, and the stuff on the web I've found doesn't cover this
circumstance, and I can't figure out how to extrapolate from what is
described to my problem.

Can anyone help?

Thanks!



More information about the Python-list mailing list