Regexp problem with `('

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Thu Mar 22 04:47:06 EDT 2007


Johny a écrit :
> I have  the following text
> 
> <title>Goods Item  146 (174459989)  - OurWebSite</title>
> 
> 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://www.amk.ca/python/howto/regex/

Read all this, try to solve your problem, and come back with what you've 
done so far if you need more help.

> Thank you for help

You're welcome.



More information about the Python-list mailing list