Use preg_replace to handle the @

Allow the user to not type the @ should he so choose. But he can if he wants. It'll work both ways. Also underscores are supported.