re: ⌛Saving time with regular expressions - learn the ways of the regex!⏱ VIEW POST

FULL DISCUSSION
 

These are the rules that an email address has to comply with to be valid one

All the rules you listed there but “must have '@'” are incorrect.

wiki

 

I am and was aware of this. The wording could have been better, maybe "Let's say these are the rules that an email address has to comply with to be a valid one." I just wanted some simple rules to make a regex for, to show the ease and speed that regular expression syntax gives you. This was just an example.

code of conduct - report abuse