course content

Course Content

Python Basics: Regex Wizards

Advanced Search Function 2/2Advanced Search Function 2/2

Task

  1. Import re;
  2. Define a text variable as "The cost is $5.";
  3. Search for any numerical value in the string;
  4. Print the output.

Everything was clear?

Section 1. Chapter 4