CourseTechnology
Use Python Regular Expressions to Process File Data
By External Provider
About this course
By the end of this project, you will use the python re package to create an application that verifies email form data from a file. Regular expressions are used to search for data patterns. They can be used to validate file or web data, and/or replace data when a match is found. In Python, the regular expression is compiled with a regular expression pattern. Then a string is passed to the regular expression engine where the search for the pattern match takes place. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.
What you will learn
- Implement a Python function that matches an email pattern.
- Read from a file containing emails using Python and match each line.
- Use Python Regular Expressions to replace missing email prefixes in a file.