摘要:
运用正则表达式: public static boolean isNumber(String str){ String reg = "^[0-9]+(.[0-9]+)?$"; return str.matches(reg); } 正则之二: public static boolean isNumbe 阅读全文
posted @ 2020-03-06 17:56 且行且思 阅读(3045) 评论(0) 推荐(0)
|
|||
|
摘要:
运用正则表达式: public static boolean isNumber(String str){ String reg = "^[0-9]+(.[0-9]+)?$"; return str.matches(reg); } 正则之二: public static boolean isNumbe 阅读全文
posted @ 2020-03-06 17:56 且行且思 阅读(3045) 评论(0) 推荐(0)
摘要:
方法一:正则表达式 select * from typg_house_tag where tht_num not REGEXP '(^[0-9]+.[0-9]+$)|(^[0-9]$)' 方法二:length()和char_length() select * from typg_house_tag 阅读全文
posted @ 2020-03-06 17:44 且行且思 阅读(3316) 评论(0) 推荐(0) |
|||