开发者

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

开发者 https://www.devze.com 2023-01-04 18:19 出处:网络
I want to add one condition \'except back开发者_运维知识库slash\' to /^[\\x20-\\x7E]{8,127}$/

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

精彩评论

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