On 02/10/2010 04:13, AON LAZIO wrote:
Hi python pals,
    I need this help, say I have
    h = "Hello \n World"
    How would I create a regular expression that match only "Hello
World"?  (ignore \n in the middle)
    Thanks in advance

\s matches any whitespace, so:

    Hello\s+World
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to