用正则表达式替换数字
String height=css.get("height")==null?"":css.get("height").replaceAll("[^\\d\\-\\.]*","").trim();
String height_unit=css.get("height")==null?"":css.get("height").replaceAll("\\d+(,\\d{3})*","").trim();
用正则表达式替换数字
String height=css.get("height")==null?"":css.get("height").replaceAll("[^\\d\\-\\.]*","").trim();
String height_unit=css.get("height")==null?"":css.get("height").replaceAll("\\d+(,\\d{3})*","").trim();
863
351
2394

被折叠的 条评论
为什么被折叠?