regular expressions

Paul Hankin paul.hankin at
Tue Nov 6 18:04:38 CET 2007

On Nov 6, 4:49 pm, krishnamanenia... at wrote:
> hi i am looking for pattern in regular expreesion that replaces
> anything starting with and betweeen http:// until /
> like
> be replaced as
> p/startservice/yellow/ fdp/abcd

What have you come up with so far? Have you looked at the 're' module?

Paul Hankin

More information about the Python-list mailing list