Use Python Regular Expressions to Process File Data

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

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.

Clock2 hours
IntermediateIntermedio
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

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.

Habilidades que desarrollarás

  • Email Validation
  • Python Regular Expression
  • Python Testing
  • Python Programming
  • Python File I/O

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Create a Python Regular Expression pattern test.

  2. Create strings to test a simple regular expression.

  3. Implement a Python function that matches an email pattern.

  4. Read from a file containing emails using Python and match each line.

  5. Use Python Regular Expressions to replace missing email prefixes in a file.

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.