use*_*820 1 java regex coldfusion
我写了一个正则表达式,生成一个类似的URL
/abc/deutschland/bbs-tagesfahrten/betz-mode-frotier-center-–-tress-teigwaren.html.
现在我想用一个替换重复的破折号.我怎么能够?
Car*_*icz 8
String.replaceAll("--+", "-");
归档时间:
15 年,8 月 前
查看次数:
2192 次
最近记录:
14 年,2 月 前