SyntaxFix
Write A Post
Hire A Developer
Questions
I think the best solution is to add the + sign between the two brackets of regex expression:
^[1-9]+[0-9]*$