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:/
On Saturday 02 October 2010, it occurred to AON LAZIO to exclaim:
> 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)
What exactly are you looking for? One way to solve
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
--
Aonlazio
'Peace is always the way.' NW
--
http://mail.python.org/mailman/listinfo/python-list