Course Content
Regex Wizards (Project)
Group function 2/2
Task
- Import
re
. - Define a text variable as
"123-456-7890"
. - Search for the first vowel value in the string using the following grammar:
^\d{3}-\d{3}-\d{4}$
. - Print the output using the
group()
function.
Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Task
- Import
re
. - Define a text variable as
"123-456-7890"
. - Search for the first vowel value in the string using the following grammar:
^\d{3}-\d{3}-\d{4}$
. - Print the output using the
group()
function.
Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 6
AVAILABLE TO ULTIMATE ONLY