exam questions

Exam 70-480 All Questions

View all questions & answers for the 70-480 exam

Exam 70-480 topic 1 question 1 discussion

Actual exam question from Microsoft's 70-480
Question #: 1
Topic #: 1
[All 70-480 Questions]

DRAG DROP -
You are validating user input by using JavaScript and regular expressions.
A group of predefined regular expressions will validate two input fields:
✑ An email address in a function named validateEmail (for example, [email protected])
✑ A nine-digit number that allows optional hyphens after the second and fifth character in a function named validateSSN(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, drag the appropriate regular expression statement to the correct location. Each regular expression statement may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Cirop
Highly Voted 5 years, 8 months ago
The solution for the ssnPattern is ^[0-9]{3}\-?[0-9]{2}\-?[0-9]{4}$
upvoted 9 times
...
nootje
Most Recent 3 years, 8 months ago
I cant drag and drop either
upvoted 1 times
...
jon23
4 years, 5 months ago
What am I suppose to drag and drop? this is all a single image...
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...