09.09.2014, 06:24
Quote:
|
sscanf can do that, I can't remember the optimal pattern but it would be something like this: "p<@>s[64]s[189]" (I could be wrong). Regex can also do this but all you need to do really is check if the string contains an @ and send them a confirmation email with a validation key/URL etc.
|
master@localhost
master@127.0.0.1
email@domain.me
email@sub.domain.me
new.email@example.co
test_email@test.io


