!anyone
Here is my problem 1. The word is between 8 and 25 characters. 2. It must start with a letter. 3. It can only contain letters, numbers, and the underscore character. 4. It cannot end with an underscore character. I tried ^[A-Za-z]\w[^_]{8,25} But it doesn't work
I don't know regex much, but it looks like the {8,25} you have at the end would apply to the [^_] set
The last set can be [a-zA-Z0-9] And I’m not sure if you can put all three groups [inside brackets]{8,25}
Обсуждают сегодня