Menu

[Solved]Tasked Designing Email Validator Service Verifies Whether String Valid Email Address Forma Q37280504

You have been tasked with designing an email validatorservice which verifies whether a string has a valid email addressformat or not. A valid email format has the followingrequirements:

  • A username that may contain letters, numbers andperiods. However, it may not start with a period

    • Min length of username is 3, including a period. i.e.a.b@f.g.h.uk is acceptable, but cd@g.com is not.

  • “at sign”, @, which comes after username

  • The domain name that comes after @. It is possible tohave only top level domains, level two domain, internationaldomains as well as subdomain which include hosts names with “.” asdelimiter. Click here for more information on existing validdomains.

  • The minimum requirement for this project is supportingtop levels, country/international domains andsubdomains

Tasks:

  1. Provide a regular expression solution for valid emailaddresses. Make sure to identify the set of alphabet and use properregular expression notation (+,., *)

Expert Answer


Answer to You have been tasked with designing an email validator service which verifies whether a string has a valid email address… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *