从字符串中提取数字 java正则表达式
String result = Pattern.compile("[^0-9]").matcher(su).replaceAll("").trim();
int su1=Integer.valueOf(result);

相关文章:

  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2021-12-04
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2022-03-01
  • 2021-11-13
  • 2021-12-09
  • 2022-01-10
  • 2022-01-03
相关资源
相似解决方案