Skip to content

正则表达式

Posted on:October 31, 2023 at 04:06 AM

常用于密码规则校验

var pattern = /^[\w_-]{6,16}$/