Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Group function 2/2 | Regex Wizards (Project)
Regex Wizards (Project)
course content

Course Content

Regex Wizards (Project)

bookGroup function 2/2

Task
test

Swipe to show code editor

  1. Import re.
  2. Define a text variable as "123-456-7890".
  3. Search for the first vowel value in the string using the following grammar: ^\d{3}-\d{3}-\d{4}$.
  4. Print the output using the group() function.

Mark tasks as Completed
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

Swipe to show code editor

  1. Import re.
  2. Define a text variable as "123-456-7890".
  3. Search for the first vowel value in the string using the following grammar: ^\d{3}-\d{3}-\d{4}$.
  4. Print the output using the group() function.

Mark tasks as Completed
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 6
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt