please help with simple regex
viofis at my-deja.com
viofis at my-deja.com
Thu Jul 1 20:35:51 EDT 1999
More information about the Python-list mailing list
Thu Jul 1 20:35:51 EDT 1999
- Previous message (by thread): please help with simple regex
- Next message (by thread): please help with simple regex
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: viofis at my-deja.com I'm a beginner at Python, so this may be a stupid question: I have a string, for example, myString="the Potato". 1. Convert it to all lowercase ("the potato") 2. Match it against a list of strings - "potato,tomato,corn,etc...", extract "potato" (if it matches with something on the list), then save into myNewString. Any help is greatly appreciated. thanks, Vadim Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
- Previous message (by thread): please help with simple regex
- Next message (by thread): please help with simple regex
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list