Просмотр поста

.
ramzes
if(preg_match('|^[a-z\.\-_][a-z\d\.\-_]{3,19}$|i', $_POST['login'])){...}