We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2019-04-14 16:49:16
// 判断字符串是否为数字 reg = /^[0-9]*$/; // 判断字符串是否为数字 开头为1-9 reg = /^\+?[1-9][0-9]*$/; reg.test('12323123123213213213') // 小数点后三位 如果后面需要解除限制修改正则 {0,3} value.match(/^\d*(\.?\d{0,3})/g)[0] || null;
正则表达式 - 语法 正则表达式在线测试 常用正则表达式
记录一些 CodeNote
The text was updated successfully, but these errors were encountered:
No branches or pull requests
2019-04-14 16:49:16
正则
正则表达式 - 语法
正则表达式在线测试 常用正则表达式
记录一些 CodeNote
The text was updated successfully, but these errors were encountered: