Tuesday, August 6, 2013

Search string for digits in Python

Search string for digits in Python

I have a list of strings that contain letters and numbers. I want to
search for the numbers and have them returned to me. What is the best way
to do this? I'm pretty new to Python and I looked into regular expressions
and I'm in the process of learning them now, but I don't know when I'll be
good enough in regular expressions before I can use them.

No comments:

Post a Comment