Help make up an expression so that the string starts with a number or letter. And then there could be spaces, letter numbers
(/^[a-zA-Z0-9\ ]*$/) - не подошло
Help make up an expression so that the string starts with a number or letter. And then there could be spaces, letter numbers
(/^[a-zA-Z0-9\ ]*$/) - не подошло
You already asked this question a couple of hours ago.
? - A question mark means 0 or 1 time, the same as {0,1}. For example, "colou? R" matches both color and color.
* - The asterisk means 0 , 1, or any number of times ({0,}). For example, "go * gle" corresponds to ggle , gogle, google, etc.
+ - Plus means at least 1 time ({1,}). For example, “go + gle” corresponds to gogle, google, and so on ( but not ggle ).
In the previous question you were sent to Google. I will not do it. I understand that Google is big and learning regular games is not an easy task. So in my answer (above) you will see the information that will help you solve your problem. And if with this you can not make out that I have bad news for you ...
Source: https://ru.stackoverflow.com/questions/192746/
All Articles