Skip to content
UdemyPythonPaid courseAll LevelsCertificate

Regular Expressions (Regex) with Python - Easy and Fast! (Udemy.com)

4 Python Projects: Practical Applications in Log File Analysis, Data Cleanup, Input Validation, and Security Enhancement

Created by: Chandra Lingam

Last updated April 2024

icon
What you will learn

  • Pattern Detection - Look for occurrences of a pattern using a concise language
  • Data Preparation - Locate and transform data of interest
  • Data Validation - Validate Input and Improve Security by Preventing Injection Attacks
  • Learn Techniques to Write High-Performance Patterns
  • Hands-on projects
  • Complements Machine Learning Skills

How it compares

Against the other 388 rated Udemy courses in Python on CourseDuck:

  • Rating4.6 out of 5higher than 70% of them
  • Reviews976#189 of 389 by number of reviews
  • Length3.5 hoursshorter than 83% of them
  • Last updatedApril 2024more recently than 56% of them

icon
Course Description

Hi, and welcome to the Regular Expressions (Regex) with Python - Easy and Fast!

Regular Expression (regex) is a pattern detection language – they are typically used to search patterns in text, extract matching values, and data validation.

Regex is supported in many programming languages, including Python, C#, JavaScript, Perl, SQL, and more.

This course is designed to provide hands-on experience with regular expressions through various exercises and projects

I am Chandra Lingam, and I am your instructor.

Here are some typical uses of regular expression

Pattern Detection

Look for occurrences of a pattern using a concise language

Data Preparation

Data clean-up and preparation is often one of the most time-consuming activities

You can define the structure of data as a regex pattern and parse data

One good application of this is AWS Glue and Athena.

You can use regex to define the structure of a record in a plain text file, Create a table and query the file using SQL

Input Validation

You can implement a client-side check for input validation

For example, your app can guide the user to provide data in the correct format using regex.

As part of the zero-trust architecture, you need to validate input to your microservice

With regex, you can verify and validate data payloads in your service

Cloud Services

Several cloud services use regex for advanced configuration.

With the AWS web application firewall, you can allow or deny traffic based on a regex pattern

In Google Workspace, you can use regex for content filtering, Gmail route configuration, and to search for content in google docs

In Google Analytics, you can use regex to locate and transform matching data in your data set

Regex is also supported by several products such as SAP, Oracle, and SQL Server

Curriculum

The source code for this course is distributed using Github – so, you always have access to up-to-date code

As part of resources, you will get this high-quality cheat-sheet for regex language

And an interactive regex tool to write patterns

In the Python Regex features section, you will get familiar with various regex methods, their purpose, and how to unit test your pattern

In the regex language section, you will learn how to write patterns – starting from the simplest of patterns

You will also learn to incorporate regex in your HTML input types for validation

Regex engine puts the onus on the developers, that is us, to write efficient patterns

In this section, you will gain knowledge of regular expression engine that will help you write optimal patterns

There are several exercises for you to apply your new skills

We then look at performance and how poorly written patterns can degrade exponentially

You will learn how to optimize the patterns and address performance issues

There are four hands-on projects in this course

You will learn how to apply the regex for distinctly different data sets – unstructured log data, IoT sensor data, and parsing medical test data in HTML format

You will get prompt support through the course Q&A forum and private messaging.

I am looking forward to meeting you

Thank You!

Chandra Lingam

Cloud Wave LLC

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Chandra Lingam

Chandra Lingam is an experienced professional in AWS, with a strong background in mission-critical systems and machine learning. He has a wealth of knowledge and expertise in systems development for both traditional IT data centers and cloud computing.

Chandra's courses on the AWS certification have been highly praised and were even mentioned in a recent Udemy earnings call by the CEO. Prior to his work as a course developer and instructor, he spent 15 years as a software engineer at Intel.

Chandra holds a Master's in Computer Science from Arizona State University and a Bachelor's in Computer Science from Thiagarajar College of Engineering in Madurai.

His courses offer valuable and up-to-date content for both beginners and experienced IT professionals looking to advance their skills in AWS and related technologies.

icon
More courses by Chandra Lingam

$19.99

$14.99

$109.99

$94.99

icon
More Python courses

$22.99

$17.99

Free

Free

$19.99

Free

icon
Reviews

4.6

976 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Florian . on 7/31/2022

The structure of the course is good, I like the constant alteration between theory and practice. This is not for absolute beginners though, basic Python knowledge is a neccesity. The in-dept explanation on how the regex-engine works is perfectly done and gives next-level insight in understanding on why and how. One point of improvement: instead of Section 9/Lessons 68 and 69 (which is similar to Section 4/Lessons 39 and 40) I would have loved to see a more detailed approach on how to write better unit-testing to check regex patterns. All-in-all a very good and well balanced regex course, thanks Chandra!

By Tony Dantona on 2/3/2021

Even as an experienced developer, I was always intimidated by RegEx and stayed away from it. This course has changed my view. In fact, I enjoy solving the puzzle with the tools this course has given me. Chandra takes a logical, step by step approach. The course is so well thought out and planned. You never feel left behind or the concept is too difficult. They are small, progressive steps, but in no time you have the tools in your belt to tackle the job. Of course, it takes practice but he even gives you an interactive tool for you to do that. Lastly, when I did have a question, he answered it within an hour. When I didn't respond immediately, he responded twice more to make sure I understood the answer. And then encouraged me to keep learning and post more questions if needed. I can't imagine getting more value than this for a course.

By Marty on 11/5/2020

Excellent course!

By Sean D. Rudd on 11/5/2020

I like the use of the jupyter notebook.

By Trupti on 10/1/2020

Excellent. Explanation with all the detailed information /documentation regarding regex

By Bora Ferlengez on 9/27/2020

The lectures are very clear and precise.
The structure of the lectures are well-established.
I haven't started with the projects yet, but so far everything is great.
I also love the interactive tool.

By Josh Bennett on 9/25/2020

This course was good as a compilation of references and practice problems, but rather poor as a teaching tool. The one exception was the step-by-step explanations in lectures 24 and 25.
Worth the sale price, but definitely not full price.

By Arunkumar.B on 7/12/2020

Excellent course on regex, with detailed examples, walk-thru' and tools to write regex and test, including performance times. Thank you!

By Jyothi Nayak on 6/29/2020

For a beginner in Regex knowing the basics of python, this course gives a very good start. Pros: 1. Basics of regex are explained, regex engine working and how a pattern is matched is described well 2. APIs of the re module are described and usage is shown 3. The interactive tool is a nice addition for testing the patterns 4. Example projects are good to test your understanding 5. Cheat sheets which are part of the training make it easy to learn Cons: 1. Some topics like look ahead/behind and group backreference were introduced but the projects never demonstrated a good example of their usage. This would have been more helpful. 2. I would have liked to see Compiled regular expression objects as an independent topic with how to use it and its advantages. Here it was introduced as a comparison point and not as a topic on its own. Only when a student reaches the sensor data project, its usage and details like position match are demonstrated. Note - It takes longer than 3.5 hours to complete this course if you are a beginner to regex. All in all, this training is a good investment of my time and efforts!

By KJB PHD on 6/26/2020

Good tools and information, but I felt there were several missing exercises that could have been included to get us to code, rather than watch you code.

By Justin Morrow on 6/23/2020

Not enough examples to be for beginners. I thought the project would have more guidance on how to work through it using the interactive tool.

By Philip Carrington on 6/2/2020

It covers everything I need

Showing 12 of 120 reviews

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 92 / 100