wk10 op discs

courseangel

"Validation with Regular Expressions"  Please respond to the following:

  • Write a regular expression to match valid e-mail addresses having the form of name@company.com. Name and company should not have spaces, quotation marks, the @ character, the back (\) slash character, or the forward (/) slash character.
  • Validate each of these e-mail addresses and with your regular expression and report  the result for each validation:

John.Doe@somecompany.com

Valid or Invalid

John.Doe.com

Valid or Invalid

John.Doe.somecompany.com

Valid or Invalid

John@Doe@somecompany.com

Valid or Invalid

John@Doe@somecompany/com

Valid or Invalid

    • 11 years ago
    • 5
    Answer(1)

    Purchase the answer to view it

    NOT RATED
    • discussion_validation_with_regular_expressions.docx