开发者

^[\x20-\x7E]{8,127}$ except backslash

I want to add one condition 'except back开发者_运维知识库slash' to /^[\x20-\x7E]{8,127}$/ how can I do?


backslash is 0x5c, so

/^[\x20-\x5b\x5d-\x7e]{8,127}$/
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜