Quiz

Quiz yourself on the concepts RegEx.

We'll cover the following...

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


1 / 3