阅读背景:

从这个regex中排除一个特定的数字

来源:互联网 

I have this regex that test for an input with max length of 5. My problem is I want to exclude the single digit of 2. If string contains only number "2", it should fail. How do I exclude number 2 in this regex? I have this regex that test for an input with m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: