汉字数字等多类型字符串中提取数字

使用正则表达式 import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static void main(String[] args) { String input = "你
posted @ 2024-01-15 15:52  fchhk  阅读(3)  评论(0编辑  收藏  举报