Hey,
I’m working on a registering script, for users to sign up and then login…
I need my script to check if their desired username has any “illegal” characters in it (like $, %, etc)… All I want users to be able to use in their usernames are numbers letter and _ and -… If their username has spaces, or any other characters besides those I want my script to find out.
How would I go about searching a variable and finding those characters?
Thanks,
Nick