Regular expression use

Larry W. Virden lvirden at
Fri Aug 24 17:30:01 CEST 2007

On Aug 24, 6:58 am, n... at (Nick Maclaren) wrote:
> I am interested in discovering what
> people actually use regular expressions for.

Hmm - let's see. I tend to use regular expressions when I am writing
code that needs to search through output to find certain patterns. I
also use them to convert text in one format into another format. I
also frequently use them to validate input - if I need input to be all
alphabetics, or a properly formatted floating point number, etc.

More information about the Python-list mailing list