Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Detecting russian characters on a form in PHP

function isRussian($text) {
    return preg_match('/[А-Яа-яЁё]/u', $text);
}
 
PREVIOUS NEXT
Tagged: #Detecting #russian #characters #form #PHP
ADD COMMENT
Topic
Name
8+1 =