regular expressions
Paul Hankin
paul.hankin at gmail.com
Tue Nov 6 12:04:38 EST 2007
On Nov 6, 4:49 pm, krishnamanenia... at gmail.com wrote:
> hi i am looking for pattern in regular expreesion that replaces
> anything starting with and betweeen http:// until /
> likehttp://www.start.com/startservice/yellow/fdhttp://helo/abcdwill
> 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