I have a string which has a pattern, say "xxx.xxx".
So first three are digits, then a . and then 3 more digits.
I want to check if first digit is always 3, and next 2 can be any digits except 30 and 40, rest can be anything.
My regex attempt is:
"3[^34][0-9]."
But it doesn't seem to work. Which part here is wrong?