Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Detecting russian characters on a form in PHP

function isRussian($text) {
    return preg_match('/[А-Яа-яЁё]/u', $text);
}
Comment

PREVIOUS NEXT
Code Example
Php :: Call to undefined function mysql_connect() 
Php :: phpspreadsheet applyFromArray wrap 
Php :: Redaxo new Mform all fields - input fields - PHP 8+ - MForm 7.0+ 
Php :: twig create new array 
Php :: php get version 
Php :: guzzlehttp post json example 
Php :: laravel naming conventions 
Php :: php echo arry 
Php :: wpml language switcher shortcode 
Php :: laravel-admin Model does not exists ! 
Php :: laravel collection implode 
Php :: php tags 
Php :: laravel get class name 
Php :: install php-fpm centos 7 
Php :: laravel mail success or failure 
Php :: laravel base url 
Php :: php return json response with status code 
Php :: remove all spaces php 
Php :: laravel check if session variable exists 
Php :: validate time in laravel 
Php :: how to display array of img in wordpress 
Php :: how to use required_with in laravel to array element 
Php :: php select page change 
Php :: php ucwords 
Php :: disable block editor on widget section wordpress 
Php :: laravel get full url with parameters 
Php :: orderby text values eliquent laravel 
Php :: php remove object from array by property 
Php :: order number generate laravel 
Php :: how to delete all data from table in php 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =