Python Regex search ( ) function - Coding exercise
Test your Python Regex search() and group() function skills.
The Search Function Exercise
Let’s assume that we have a string variable called email
, where email = "hello@scitake_outentificprogramming.io"
passed to a function called regex_processor()
in the following code.
Can you remove the word "take_out"
and print the email address "hello@scientificprogramming.io"
?
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy