preg_match и utf-8http://softtime.ru/forumpreg_match и utf-8http://softtime.ru/forum/read.php?id_forum=6&id_theme=73013#post429944Спасибо! Работает.preg_match и utf-8Sat, 3 Apr 2010 17:10:55 +0300madvpreg_match и utf-8http://softtime.ru/forum/read.php?id_forum=6&id_theme=73013#post429942попробуйте u добавить. "/^{3,15}$/ui"preg_match и utf-8Sat, 3 Apr 2010 17:04:50 +0300neadekvatpreg_match и utf-8http://softtime.ru/forum/read.php?id_forum=6&id_theme=73013#post429938"?php if (preg_match("/^{3,15}$/i", "логин")) echo "верно"; else echo "неверно"; ?" Этот скрипт для проверки корректности вводимого логина. В ANSI кодировке...preg_match и utf-8Sat, 3 Apr 2010 16:40:28 +0300madv