if (!eregi("^[A-Za-z0-9]+$", $_POST['username']))
if (!eregi("^[A-Za-z" . $vboptions['mycustomoption'] . "0-9]+$", $_POST['username']))