Kursinnehåll
Regex Wizards (Project)
Findall Method
findall()
is a method that returns a list containing all matches of the pattern in the given string.
Uppgift
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
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 8