Is there a way to prevent members from registering with @ symbol for username

Is there a way to prevent members from registering with their email address as username?
Thank you.