<?php var_dump(preg_match('~^[^A-ZА-ЯЁ]{0,2}_?$~u', '23'));
You have javascript disabled. You will not be able to edit any code.