String a = "<img src=/"http://www.17bobo.com/images/fulls.gif/">"把双引号替换为单引号: a= a.replaceAll("/"","'");