How to make preg_match that if there are characters in the line except letters and space then return false
by pattern
^[A-zА-ЯёЁ ]
well, or something like that
How to make preg_match that if there are characters in the line except letters and space then return false
by pattern
^[A-zА-ЯёЁ ]
well, or something like that
preg_match('/^[a-zа-яё ]+$/ui', 'ab c А бв ');
Source: https://ru.stackoverflow.com/questions/180114/
All Articles