Johny wrote:
> I have the following text
>
> Goods Item 146 (174459989) - OurWebSite
>
> from which I need to extract
> `Goods Item 146 '
>
> Can anyone help with regexp?
> Thank you for help
> L.
In general, parsing HTML with regular expressions is a bad idea.
Usually, you use somethin
On Mar 22, 3:26 am, "Johny" <[EMAIL PROTECTED]> wrote:
> I have the following text
>
> Goods Item 146 (174459989) - OurWebSite
>
> from which I need to extract
> `Goods Item 146 '
>
> Can anyone help with regexp?
> Thank you for help
> L.
Here's the immediate answer to your question.
import r
Johny a écrit :
> I have the following text
>
> Goods Item 146 (174459989) - OurWebSite
>
> from which I need to extract
> `Goods Item 146 '
>
> Can anyone help with regexp?
Sure : the documentation is here:
http://docs.python.org/lib/module-re.html
And there's a nice tutorial here:
http:/
On Thu, Mar 22, 2007 at 01:26:22AM -0700, Johny wrote:
> I have the following text
>
> Goods Item 146 (174459989) - OurWebSite
>
> from which I need to extract
> `Goods Item 146 '
>
> Can anyone help with regexp?
> Thank you for help
> L.
(Goods\s+Item\s+146\s+)
--
Zeng Nan
MY
I have the following text
Goods Item 146 (174459989) - OurWebSite
from which I need to extract
`Goods Item 146 '
Can anyone help with regexp?
Thank you for help
L.
--
http://mail.python.org/mailman/listinfo/python-list
Zeng Nan wrote:
> On Thu, Mar 22, 2007 at 01:26:22AM -0700, Johny wrote:
>> I have the following text
>>
>> Goods Item 146 (174459989) - OurWebSite
>>
>> from which I need to extract
>> `Goods Item 146 '
>>
>> Can anyone help with regexp?
>> Thank you for help
>> L.
>
> (Goods\s+Item\s+146\s+)