MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Regular Expressions in Python

Course Summary

Regular expressions are one of the tools that every programmer needs, but is often scared of. In this course, we'll explore the re module that Python provides and learn to write regular expressions for many different situations.


  • +

    Course Syllabus

    Introduction to Regular Expressions

    Let's break down regular expressions and their methods so we can turn a block of messy text into useful dictionaries. We'll use .match(), .search(), and .findall() to find matches for our patterns, and we'll build our patterns up from something very precise to something more flexible and powerful. Finally, we'll turn our text into real Python dictionaries. 19 steps
    • Reading Files 7:00
    • Basics 4 questions
    • The Basics 5 objectives
    • Escape Hatches 5:23
    • Escapes 4 questions
    • Escapes 2 objectives
    • Counts 6:05
    • Phone Numbers 1 objective
    • Word Length 1 objective
    • Sets 5:42
    • Email 1 objective
    • Negation 8:20
    • Negated Numbers 1 objective
    • Groups 9:45
    • Name Groups 1 objective
    • Email Groups 2 objectives
    • Compiling and Loops 6:51
    • Players Dictionary and Class 2 objectives
    • Review: Regular Expressions in Python 8 questions
    • Extra Credit Write a class to represent a person based on the information in the text file. They should have names, email addresses, phone numbers, jobs, and Twitter accounts. Remember, some of these can be blank, though!To go ever further, make a class to act as as address book to hold all of the people class instances created above. Can you make it searchable?


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

Related Posts:

Attended this course?

Back to Top

 
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url