斜杠
tring sx="http://blog.csdn.net/yuan8080/article/details/6052827";
sx=sx.replaceAll("/","-");
System.out.println(sx);
String sx1="D:\\Java\\eclipse2\\plugins";
sx1=sx1.replaceAll("\\\\", "-");
System.out.println(sx1);
sx=sx.replaceAll("/","-");
System.out.println(sx);
String sx1="D:\\Java\\eclipse2\\plugins";
sx1=sx1.replaceAll("\\\\", "-");
System.out.println(sx1);
邮箱:wangh_2@sina.com