Exam 70-480 Topic 1 Question 46 Discussion

Actual exam question for Microsoft's 70-480 exam
Question #: 46
Topic #: 1
HOTSPOT
You are validating user input by using JavaScript and regular expressions.
A group of pre-defined regular expressions validate two input fields:
An email address in a function named validateEmail. The email address must use two-part domains

with two to four characters in the second part of the domain name.
A nine-digit number that allows optional hyphens after the third and fifth character in a function named

validateID (for example, 555555555 or 555-55-5555)
You need to use the correct expression to validate the input.
Which expression should you insert into each function? To answer, select the appropriate options from the drop-down lists in the answer area.
Hot Area:

Suggested Answer:

by Joshua at Apr 10, 2025, 03:29 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10