question on regular expressions
seandavidross at hotmail.com
Fri Dec 3 19:01:50 CET 2004
"Darren Dale" <dd55 at cornell.edu> wrote in message
news:coq8n8$san$1 at news01.cit.cornell.edu...
> I'm stuck. I'm trying to make this:
> (no linebreaks) look like this:
> my regular expression abilities are dismal. I won't list all the
> unsuccessful things I've tried, in a nutshell, the greedy operators are
> messing me up, truncating the output to ./mydoc2.pdf. Could someone offer
from os.path import basename
url = 'file://C:%5Cfolder1%5Cfolder2%5Cmydoc1.pdf'
More information about the Python-list