Kursinnehåll
Regex Wizards (Project)
Group function 2/2
Uppgift
Swipe to start coding
- 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.
Lösning
Mark tasks as Completed
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 6
AVAILABLE TO ULTIMATE ONLY