Python student seeks help regex/strings

n00m n00m at narod.ru
Sun Apr 12 01:59:08 EDT 2009


>>> s = 'I have 30 days to find it'
>>> ss = filter(lambda si: si.isdigit(), s)
>>> ss
'30'
>>>



More information about the Python-list mailing list