Trying to create a regex pattern for email address check. That will allow a dot (.) but not if there are more than one next to each other.
Should match: test.test@te
strpos($input,'..') === false
strpos function is more simple, if `$input' has not '..' your test is success.
strpos