Solved

Assuming Strings of the Format: "Robert's Birthday Is 10-22-90

Question 46

Multiple Choice

Assuming strings of the format: "Robert's birthday is 10-22-90"
What does the following regex match?
// create a regular expression
Regex expression("J.*\\d[0-35-9]-\\d\\d-\\d\\d") ;


A) Birthdays that occur in April and that belong to people whose names begin with "J".
B) Birthdays that belong to people whose names begin with "J".
C) Birthdays that do not occur in April and that belong to people whose names begin with "J".
D) None of the above.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents