随笔分类 -  正则表达式

常用正则~
摘要:解决parseFloat,不能提取字符串中,首字符为非数字的问题. 同理,parseInt,可以用 /[\d]+/ 阅读全文
posted @ 2018-03-16 13:12 乔治斯蒂洛 阅读(2715) 评论(0) 推荐(0)