Kursinnhold
Regex Wizards (Project)
Findall Method
findall()
is a method that returns a list containing all matches of the pattern in the given string.
Oppgave
Swipe to start coding
- Define a text variable with
"The cat is cute. The dog is also cute."
. - Use the
findall()
method and print the results.
Løsning
Mark tasks as Completed
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 8