Character Browser note to fix preg match for isalphaspace, etc
Reply
note to fix preg match for isalphaspace, etc
php
More +
function IsAlphaSpace($str) {
    return preg_match('/^[a-z ]*$/i', $str);
}
function IsAlphaNumericSpace($str) {
    return preg_match('/^[a-z0-9 ]*$/i', $str);
}
Tue Nov 10, 2009 8:58 pm
Project Lead
Character Browser note to fix preg match for isalphaspace, etc
Reply