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 = "" passed to a function called regex_processor() in the following code.

Can you remove the word "take_out" and print the email address ""?

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy