[go: up one dir, main page]

0% found this document useful (0 votes)
37 views4 pages

3 Quiz 1 REGEX Patterns

Uploaded by

ArvindSharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views4 pages

3 Quiz 1 REGEX Patterns

Uploaded by

ArvindSharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Quiz # 1 - REGEX Patterns

Challenge yourself!

Regex pattern quizzes

1
By default, a dot ( . ) matches

2
Regex pattern a+ matches
3
Regex [0-9]+ matches one or more occurrence of any digit

4
[^…] Matches any single character that is not in the class.

5
^abc matches - multi answer
6
The vertical bar separates two or more alternatives. A match occurs if
any of the alternatives is satisfied. For example, learn |scientific
matches

7
By default, regular expressions are case-sensitive.

8
When you put a plus sign ( + ) after something in a regular expression,
9 The star ( * ) has a similar meaning but also allows the pattern to match
zero times.

10
Putting {4} after an element, \d{4}

Check Answers

You might also like