Regular Expressions (Regex) with JavaScript - Easy and Fast!

Regex Mastery: Hands-On Pattern Detection, Input Verification, Security Enhancement, and Data Cleanup

4.60 (19 reviews)
Udemy
platform
English
language
Web Development
category
instructor
523
students
4 hours
content
Mar 2024
last update
$69.99
regular price

What you will learn

Data Validation - Validate Input and Protect from Security Vulnerabilities

Pattern Detection - Look for occurrences of a pattern using a concise language

Data Preparation - Locate and transform data of interest

Learn Techniques to Write High-Performance Patterns

Hands-on projects

Description

Hi, and welcome to the JavaScript Regular Expressions (regex) with Projects!

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 is what you will learn in this course

Input Validation

Cross-Check Input and Protect from Security Vulnerabilities

Pattern Detection

Look for occurrences of a pattern using a concise language

Data Preparation

Use regex to locate and transform data of interest

High Performance

Learn Techniques to Write High-Performance Patterns

Hands-On

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

Regex knowledge is very useful in the Cloud

Several cloud services use regex for advanced configuration.

With the AWS web application firewall, you can allow or deny traffic based on a 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

Regex Knowledge is transferable to many programming languages!

Included Resources: a High-Quality Cheat Sheet for Regex Language, Interactive Tool to Learn Regex, GitHub Repo for Source Code Distribution

Happy Learning

Chandra Lingam

Cloud Wave LLC

Content

Introduction

Introduction
Source Code Setup
Increase the speed of learning

JavaScript Regex Features

Development Environment, String and RegExp
String Search
Unit Testing
Match, MatchAll, Groups
Find-Replace, Split
RegExp - Exec, Test
Learn Regex Interactive Tool
JavaScript Regex Features

JavaScript Regex Language

Downloadable Resources
Single Character Patterns
Anchors
Character Classes
Quantifiers
JavaScript Regex Language
HTML Forms Input Validation
Exercise - USA Zip code
HTML Forms Input Validation Solution
Postal Codes

JavaScript Regex Engine - Behind the scenes

Downloadable Resources
One character at a time
Left to Right
Lab - Left to Right
Greedy, Lazy and Backtracking Analogy
Greedy, Lazy and Backtracking Examples
Lab - Greedy, Lazy and Backtracking
Groups, Backreference, Replacement
Lab - Groups, Backreference, Replacement
Look Ahead
Look Behind
JavaScript Regex Five Key Points
Exercise - Currency Symbol
Solution - Currency Symbol
Exercise - Match a number
Solution - Match a number
Exercise - List all cars not made by Honda
Solution - List all cars not made by Honda
Exercise - Webserver Log Parser
Solution - Webserver Log Parser
Exercise - Filter by price
Solution - Filter by price
Exercise - List cars that meet specified criteria
Solution - List cars that meet specified criteria
Exercise - Password Validation
Solution - Password Validation

Regex Performance

Downloadable Resources
Exponential degradation - example of bad patterns and performance implication
How to correct performance issues and optimize pattern

Project 1 - Log Parser

Log Data Parser Objective
Exercise 1 - Write a pattern to capture header information
Exercise 2 - Write a pattern to capture error message
Exercise 3 - Write a pattern to capture metrics
Solution - How to write log parser regex patterns
Solution - Log Data to JSON

Project 2 - IoT Sensor Data

Sensor Data Parser Objective
Exercise 1 - Capture Date Value
Exercise 2 - Capture Temperature and Humidity Value
Solution - How to write sensor data patterns
Solution - Sensor Data to JSON

Project 3 - Health Care Data

Health care Data Parser Objective
Exercise 1- Cleanup pattern
Exercise 2 - Write a pattern to capture a row
Exercise 3 - Write a pattern to capture a cell
Solution - How to write health care data patterns
Solution - Health care data to JSON

Screenshots

Regular Expressions (Regex) with JavaScript - Easy and Fast! - Screenshot_01Regular Expressions (Regex) with JavaScript - Easy and Fast! - Screenshot_02Regular Expressions (Regex) with JavaScript - Easy and Fast! - Screenshot_03Regular Expressions (Regex) with JavaScript - Easy and Fast! - Screenshot_04

Reviews

Dashrath
November 16, 2022
Course was great! I knew a little bit of basics but optimizing the pattern and writing an efficient was not my strong suit. I learnt it from this course. I will be applying the learnings somewhere. Furthermore, I would really appreciate if you could let me know websites where I can solve more questions to hone my regex skills. I would look forward if you have any platform in mind for honing the newly acquired understanding of patterns.
Payge
January 24, 2022
He has set up some very good examples to illustrate details about regex. They aren't cumbersome to set up either.
Aadhya
March 17, 2021
In my view, this course is a complete course on this topic. A beginner can master the subject after practicing the course content.
Vijay
November 7, 2020
A quick and complete course on RegEx. Can be called a 'Zero to Hero' course. I liked the comprehensive, close to real-time use-cases/projects. Learn at a speed of 1.25 to become a RegEx Hero quicker :)

Charts

Price

Regular Expressions (Regex) with JavaScript - Easy and Fast! - Price chart

Rating

Regular Expressions (Regex) with JavaScript - Easy and Fast! - Ratings chart

Enrollment distribution

Regular Expressions (Regex) with JavaScript - Easy and Fast! - Distribution chart
3589320
udemy ID
10/24/2020
course created date
10/31/2020
course indexed date
Bot
course submited by