Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Meditation Personal Transformation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
2020-12-18 18:34:05
30-Day Money-Back Guarantee

This course includes:

  • 3.5 hours on-demand video
  • 29 articles
  • 4 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
Development Web Development JavaScript

JavaScript Regular Expressions (regex) [New]

Hands-on Input Validation, Data Parsing, Transformation, Cleanup - Use in Angular, React, Vue and Node.js apps
Rating: 5.0 out of 55.0 (5 ratings)
292 students
Created by Chandra Lingam
Last updated 11/2020
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Use regex for client and server-side validation
  • Regular expression as a powerful data cleanup tool
  • Gain practical tips with hands-on projects
  • Understand potential performance issues and techniques to address them

Course content

9 sections • 64 lectures • 3h 36m total length

  • Preview02:59
  • Source Code Setup
    00:08
  • Increase the speed of learning
    00:36

  • Development Environment, String and RegExp
    08:46
  • String Search
    06:29
  • Unit Testing
    05:33
  • Match, MatchAll, Groups
    09:44
  • Find-Replace, Split
    04:20
  • RegExp - Exec, Test
    08:29
  • Learn Regex Interactive Tool
    08:02
  • JavaScript Regex Features
    4 questions

  • Downloadable Resources
    00:02
  • Single Character Patterns
    15:21
  • Anchors
    04:47
  • Character Classes
    07:29
  • Quantifiers
    06:43
  • JavaScript Regex Language
    9 questions
  • Preview02:49
  • Exercise - USA Zip code
    00:11
  • HTML Forms Input Validation Solution
    02:01
  • Postal Codes
    2 questions

  • Downloadable Resources
    00:02
  • One character at a time
    05:10
  • Left to Right
    07:18
  • Lab - Left to Right
    01:52
  • Preview05:26
  • Greedy, Lazy and Backtracking Examples
    09:12
  • Lab - Greedy, Lazy and Backtracking
    03:36
  • Groups, Backreference, Replacement
    07:46
  • Lab - Groups, Backreference, Replacement
    02:37
  • Look Ahead
    04:46
  • Look Behind
    05:56
  • JavaScript Regex Five Key Points
    3 questions
  • Exercise - Currency Symbol
    00:20
  • Solution - Currency Symbol
    00:02
  • Exercise - Match a number
    00:29
  • Solution - Match a number
    00:22
  • Exercise - List all cars not made by Honda
    00:16
  • Solution - List all cars not made by Honda
    00:04
  • Exercise - Webserver Log Parser
    00:16
  • Solution - Webserver Log Parser
    00:01
  • Exercise - Filter by price
    00:08
  • Solution - Filter by price
    00:04
  • Exercise - List cars that meet specified criteria
    00:05
  • Solution - List cars that meet specified criteria
    00:03
  • Exercise - Password Validation
    00:15
  • Solution - Password Validation
    00:09

  • Downloadable Resources
    00:02
  • Exponential degradation - example of bad patterns and performance implication
    07:12
  • How to correct performance issues and optimize pattern
    03:18

  • Log Data Parser Objective
    02:32
  • Exercise 1 - Write a pattern to capture header information
    00:20
  • Exercise 2 - Write a pattern to capture error message
    00:22
  • Exercise 3 - Write a pattern to capture metrics
    00:40
  • Solution - How to write log parser regex patterns
    08:22
  • Solution - Log Data to JSON
    09:30

  • Sensor Data Parser Objective
    02:24
  • Exercise 1 - Capture Date Value
    00:18
  • Exercise 2 - Capture Temperature and Humidity Value
    00:12
  • Solution - How to write sensor data patterns
    03:45
  • Solution - Sensor Data to JSON
    06:06

  • Health care Data Parser Objective
    03:25
  • Exercise 1- Cleanup pattern
    00:22
  • Exercise 2 - Write a pattern to capture a row
    00:26
  • Exercise 3 - Write a pattern to capture a cell
    00:19
  • Solution - How to write health care data patterns
    09:35
  • Solution - Health care data to JSON
    05:53

  • Congratulations!
    00:17

Requirements

  • Familiarity with JavaScript

Description

Hi, and welcome to the JavaScript Regular Expressions Course!

In just a couple of hours, you will gain precise and relevant information that you can immediately apply to your projects

I am Chandra Lingam, and I am your instructor.

Here are some typical uses of regular expression

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.

Here, the zip code is accepted in one of the two formats, and their format is specified using regex

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

With JavaScript regex, you can verify and validate data payloads in your node js application

Regex also provides powerful text processing capabilities

Let’s look at what you will learn in this course

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 the supported operations

Besides, we will use an interactive regex tool to write and test patterns

Course outline

In the JavaScript 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 three hands-on projects in this course

You will learn how to apply the regex for three 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!

Who this course is for:

  • JavaScript, Node Application Software Engineers and Developers

Instructor

Chandra Lingam
Data Scientist and Solutions Architect
Chandra Lingam
  • 4.5 Instructor Rating
  • 7,369 Reviews
  • 68,209 Students
  • 9 Courses

Chandra Lingam is an expert on Amazon Web Services, mission-critical systems, and machine learning. He has a rich background in systems development in both traditional IT data center and on the Cloud. He is uniquely positioned to guide you to become an expert in AWS Cloud Platform.

Before becoming a full-time course developer and instructor, he spent 15 years at Intel as a software engineer.

He has a Master's degree in Computer Science from Arizona State University, Tempe, and a Bachelor's degree in Computer Science from Thiagarajar College of Engineering, Madurai

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.