Can someone help me with this regular expression?

Code:
if(!preg_match("^[A-Za-z0-9]+$^", "$username"))
It seems to be blocking some names without spaces and special characters. Names constisting of just letters and numbers.