Gossamer Forum
Home : Products : DBMan SQL : Discussion :

email validation problem

Quote Reply
email validation problem
Hello

I just found out that the email address validation that is implemented as regex in DBManSQL shows the following problem:

addresses with two @ signs are being accepted as valid email addresses
example: user@wrongmailaddress@domain.com can be registered using the signup form

The following regex is being used in DBManSQL:
^(?:(?:.+\@.+\..+)|\s*)$

Does anyone know how to modify the above regex so that only one @ sign can be entered?

Thanks for your help and all the best
Smileliver
Subject Author Views Date
Post email validation problem olivers 1568 Jun 12, 2006, 8:02 PM