Course Content
Regex Wizards: Mastering Search and Replace in Python
Regex Wizards: Mastering Search and Replace in Python
Advanced Search Function 2/2
Task
- Import
re
; - Define a text variable as
"The cost is $5."
; - Search for any numerical value in the string;
- Print the output.
Everything was clear?
Section 1. Chapter 4
Start learning today and achieve
coding mastery
- Master Python, SQL, JavaScript & more.
- Learn with Step-by-Step Lessons.
- Get Ready for Real-World Projects.
- Earn a Certificate Upon Completion.