Group function 2/2
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 6
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Spørg mig spørgsmål om dette emne
Opsummér dette kapitel
Vis virkelige eksempler
Awesome!
Completion rate improved to 11.11
Group function 2/2
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 6