Regular Expressions Flashcards

To learn and review the regular expression syntax.

1
Q

What does the following character represent - \d

A

Match any digit from 0 to 9

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What will be matched by the . (dot) metacharter

A

Any single character (letter, digit, whitespace, everything).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does this a{3} represent

A

Match the character a three times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly