i've been using:
ereg('^[a-zA-Z0-9]{3,23}$', $_POST['password'])
to check that a password only contains letters and numbers, but how do i make whitespaces OK as well?
i saw \s is meant to in a regex meant to mean a whitspace, so i tried [a-zA-Z0-9\s] but it thinks its a backslash and an s...