首页
技术博客
登录
6mi
u
盘
搜
搜 索
技术博客
jquery正则表达式写法
jquery正则表达式写法
tech
2025-08-17
3
const
FloatRegex
=
/^[0-9a-zA-Z_\.]{1,}$/
if
(
!
FloatRegex
.
test
(
value
)
)
{
this
.
$message
.
error
(
'只能输入数字、字母、下划线、小圆点'
)
return
}
转载请注明原文地址:https://tech.qufami.com/read-23676.html
最新回复
(
0
)