大飞_dafei

导航

2021年1月6日 #

BASE64图片_获取BASE64字符串

摘要: BASE64图片_获取BASE64字符串 BASE64图片: <input type="file" id="image"><br/> <button id="up">上传</button> <script src="https://cdn.staticfile.org/jquery/1.10.2/j 阅读全文

posted @ 2021-01-06 18:08 大飞_dafei 阅读(139) 评论(0) 推荐(0) 编辑

RegExp 正则简单使用

摘要: RegExp 正则简单使用 "123".match(/^\d*$/g); // ["123"] "123_fei".match(/^[0-9]*$/g); // null "123_fei_456_foo_789".replace(/[0-9]{3}/g,","); ",_fei_,_foo_," 阅读全文

posted @ 2021-01-06 09:18 大飞_dafei 阅读(165) 评论(0) 推荐(0) 编辑