Need direction on mass find/replacement in HTML files
Novocastrian_Nomad
gregory.j.baker at gmail.com
Sat May 1 18:57:06 EDT 2010
One single line regex solution would be:
re.sub(r'http\://www.mysite.org/\?page=([^"]+)',r'pages/\1.htm',html)
More information about the Python-list
mailing list