经常使用地区手机号正则表达式

目前项目由于手机号发短信,须要验证手机号,用正则表达式来解决了这个问题,我在这里主要是做为记录一下。java public static boolean isPhone(String phone,String area_code){ Pattern p = null; Matcher m = null; boolean flag = false; /** * 大陆
相关文章
相关标签/搜索