Im trying to make a regex statement to validate email addresses. Here is my current statement:
[a-z|A-Z|.]+@[a-z|A-Z]+\.[a-z]{3}\.[a-z]{2}
I have been trying to prevent it from accepting multiple full stops in a row. But it isnt having any of it. Ive tried:
\.(?!\.)
However it recognises the first . as a required value unrelated to the ?! negative lookahead. Does anyone know a basic/simple negative lookahead (or any other way of achieving this) and is able to explain what it does. This would be much appreciated :) Thanks