Search Header Logo

Regular Expressions

Authored by Sebastian Pinzon

Computers

8th Grade - Professional Development

Used 37+ times

Regular Expressions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these regular expressions matches a single-digit number?

\s

\d

\w

.

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these regular expressions matches a single letter?

\s

\d

\w

.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these regular expressions matches an asterisk symbol (*)?

\s

\d

\w

.

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which regular expression matches a two-digit number?

\d{2}

\d+

\w{2}

..

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which regular expression matches a 5-letter word?

\w{5}

\w+

\d{3}\w\w

.*

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which regular expression matches a 7-letter or 8-letter word?

\w{7,8}

\w+

\w*

.*

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these regular expressions matches the text: "gs 8"?

\w+

\w\w\s\d

.+

[\w\s]{4}

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?