O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2018 Python Regular Expressions - Real World Projects

Video Description

Learn cutting-edge pattern matching skills for log mining, big data parsing, cleanup and preparation with Regex

About This Video

  • All material and software instructions are covered in the housekeeping video.
  • The time duration is short and to the point which is good for completing course in short timeframe.

In Detail

Welcome to Python Regular Expressions Course! You will apply your new skills with four hands-on real-world projects. You will gain solid understanding on type of performance issues regex can run into, and techniques to address them. As part of resources in this course, you will get a high-quality quick reference guide, an interactive tool, all the source code and downloadable slides. Why Learn Regular Expressions? Very often, the data that we need is not readily accessible or useful. Data preparation and clean-up is often one of the most time-consuming activities in a software automation project. Instead of spending time writing code for all this, you can specify data patterns of interest and let regular expression engine do the work for you. Regular Expression is cross-platform and you can learn the concepts once and use it in multiple programming languages and environment

Looking forward to seeing you in the course! God Speed!

Table of Contents

  1. Chapter 1 : Introduction
    1. Introduction 00:02:18
    2. Housekeeping 00:08:01
  2. Chapter 2 : Regular Expression Usage Demo
    1. iPython Notebook and Solution Testing 00:03:16
    2. Terminology and Coding Tips 00:04:08
    3. Find the First Match 00:04:59
    4. Find all Matches 00:02:13
    5. Group 00:02:37
    6. Find and Replace Text 00:03:04
    7. Split Text, Raw String, Summary 00:02:42
  3. Chapter 3 : Regular Expression Interactive Tool
    1. Demo - Learn Regex Interactive Tool 00:09:10
  4. Chapter 4 : Regular Expression Language Overview
    1. Single Character Pattern, Sets, Range, Multi-Range, Wildcard, Escape and Control 00:12:36
    2. Anchors 00:06:11
    3. Character Classes 00:05:05
    4. Quantifiers - Optional, Frequency of Occurrence 00:06:46
    5. Comments 00:02:09
    6. Conditional Expression 00:02:34
  5. Chapter 5 : Regular Expression Engine - Five Key Points
    1. Regular Expression Engine Introduction 00:02:25
    2. One Character at time 00:03:48
    3. Left to Right 00:03:51
    4. 2.1 Left to Right - One more example 00:04:14
    5. Demo - Left to Right 00:02:49
    6. Greedy, Lazy and Backtracking 00:05:58
    7. 3.1 Lazy 00:04:24
    8. 3.2 Exhaustive 00:03:52
    9. Demo – Greedy 00:02:47
    10. Groups - Indexed, Named, Non Capturing 00:06:27
    11. 4.1 Groups - Back-reference, Substitution 00:02:49
    12. Look-Ahead and Look-Behind 00:02:46
  6. Chapter 6 : Project 1 - Robocopy Log File Parsing with Regular Expression
    1. Overview and Scope 00:03:19
    2. Solution and Demo 00:10:07
  7. Chapter 7 : Regular Expression Performance
    1. Introduction - Patterns Exhibiting Exponential Run Time 00:03:12
    2. Root Cause 00:04:47
    3. How to fix performance issues? 00:03:10
    4. Demo - Performance issue and fix 00:04:04
    5. Compiled Versus Module Regular Expression Methods 00:02:26
    6. Demo - Module Methods and Compiled Methods Performance 00:04:42
  8. Chapter 8 : Project 2 - Intelligent Sensor Data Handling with Regular Expression
    1. Introduction 00:04:16
    2. Solution and Demo 00:06:44
  9. Chapter 9 : Project 3 - Health Care Electronic Medical Record
    1. Introduction 00:02:19
    2. Solution 00:05:02