Need some simple PHP help?

Ethan

New member
Look at this code:

if (!preg_match("/^[a-zA-Z0-9.-_]+$/", $username))

I know that it checks to see if a username has those characters, but what is the "^" and "+$" part of the code for?
 
Back
Top