Author: EkRaghu | Posted on: 6/8/2009 10:21:37 AM | Views : 650

I would like to replace double slashes with single slashes from the below input string except the slashes that followed by ":"  should be ignored

 
String Input =  "http://edition.cnn.com//2009//POLITICS//06//08//scotus?iref=hpmostpop"
Expected Output =  "http://edition.cnn.com/2009/POLITICS/06/08/scotus?iref=hpmostpop"
Note: Please read the above note regd ":"

...

Go to the complete details ...