0

I just realized my regular expression for email does not recognize c@something.se as a valid email address. But it actually is. How can I improve this on the expression?

\A([a-z0-9!#_%&'""=`{}~\-\+\*\?\^\|\/\$])+([a-z0-9!#_%&'""=`{}~\.\-\+\*\?\^\|\/\$])+([a-z0-9!#_%&'""=`{}~\-\+\*\?\^\|\/\$])+@{1}([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z0-9]{2,64}\z
disasterkid
  • 6,948
  • 25
  • 94
  • 179

0 Answers0