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
posted @ 2021-01-06 09:18