I recently just picked up on regex and I am trying to figure out how to match the pattern of any numbers greater than 1. so far I came up with
[2-9][0-9]*
But it only works with the leftmost digit not being 1. For example, 234
works but 124
doesn't.
So what am I trying to achieve is that a single digit of 1
shouldn't be matched and any integer greater than it should.