>>> s = 'I have 30 days to find it' >>> ss = filter(lambda si: si.isdigit(), s) >>> ss '30' >>> -- http://mail.python.org/mailman/listinfo/python-list
- Python student seeks help regex/strings Petyr David
- Re: Python student seeks help regex/strings n00m
- Re: Python student seeks help regex/strings John Machin