Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Findall Method | Regex Wizards (Project)
Regex Wizards (Project)
course content

Course Content

Regex Wizards (Project)

Findall Method

findall() is a method that returns a list containing all matches of the pattern in the given string.

Task

  1. Define a text variable with "The cat is cute. The dog is also cute.".
  2. Use the findall() method and print the results.

Task

  1. Define a text variable with "The cat is cute. The dog is also cute.".
  2. Use the findall() method and print the results.

Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

findall() is a method that returns a list containing all matches of the pattern in the given string.

Task

  1. Define a text variable with "The cat is cute. The dog is also cute.".
  2. Use the findall() method and print the results.

Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 8
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt