I was wondering if it is possible to use a regex to check the first n characters of a string and determine if any of them contain a digit?
I realize this can be done by first splitting the string and then using a \d on the substring, but I would like to see a solution where it could be done in one shot