Regex pattern that matches any number include 1-9 except 2

前端 未结 4 1976
说谎
说谎 2021-02-19 08:15

I need a regular expression pattern that matches any number including 1-9 numbers except 2?

My attempt:

([1-9][^2])

But this doesn\'t w

4条回答
提交回复
热议问题