Answer the question
In order to leave comments, you need to log in
Correct spelling at the beginning and end?
Correct spelling at the beginning and end? /^ +$/
php.net/manual/ru/regexp.reference.meta.php But it's not particularly clear.
Here is my regex, only allows from a to z.preg_match("/^[a-z]+$/", $a)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question