Regex to check a specific kind of email address -
Email addresses are in this format:
name.lastname@company123.com < P> Maximum length = 64 characters for the entire address
Maximum length for the 'company123' = 10 letters (there are 3 separate company names, the longest is a 10 character) < P> If we '@' and ' Com 'which leaves 49 characters for' name '.
I have it:
[A-Za-Z.] {48} @ | Company 123 | Company 45 Company 67. Edit: I have finished it (according to the advice of @SworWers) ([a-zA-Z] {2, 24}). ([A-zA-Z] {2,24}) @ (| Company 123 | Company 45 | Company 67) \. (Com)
You are currently saying "48 characters in the first part of that letter Or should be duration ", it should actually be between 1 and 49" ... possibly numbers can also happen?
The domain portion of your Reggae can be listed like that before or it can match similarly but in between 1 and 10 characters, the last option:
[a] -zA-Z \ d.] {1,49} @ [a-zA-Z \ d] {1,10} \ com
Comments
Post a Comment