"harijay" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
I want to parse a number of strings and extract only those that
contain a 4 digit number anywhere inside a string

Try:
   p = re.compile(r'\b\d{4}\b')

-Mark

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to