Quiz

Quiz yourself on the concepts RegEx.

Check your knowledge on greedy nature, lazy nature, and backtracking.

1

Which RegEx matches all the letters and space characters and only one number in the following texts, “abc zyx ahf vcgs 123”?

A)

/.*\d+?/

B)

/.* \d+?/

C)

/.* \d+/

D)

None of the above

Question 1 of 30 attempted

Get hands-on with 1400+ tech skills courses.