Regular Expressions in Javascript – Master course + projects

Regular Expressions in Javascript – Master course + projects
Regular Expressions in Javascript – Master course + projects
English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 5 Hours | 1.88 GB

Learn how to create simple to complicated regular expressions in Javascript with hands on examples & real world problems

Regular expressions are an essential part of problem solving in computer science. They can be tricky to learn if you don’t approach the topic right.

In this course, we hope to break down the regular expressions into manageable parts so you can learn them fast and retain the concepts much longer.

This course will be useful for both Javascript programmers and programmers of other programming languages because we focus on the core concepts of regular expressions before teaching you how to apply them in Javascript.

You’ll also learn the sheer power of regular expressions, used in combination with the powerhouse that is the Javascript language. Add the latest ECMAScript updates to the mix, and you end up with something that is unparalleled in the other languages.

Every concept is taught through a wealth of over-the-shoulder examples so you understand the concepts better.

What will you learn in our course?

1. Learn the core concepts of regular expressions – how they work, how to create them and how to apply them

2. Learn how to apply the regular expression concepts you learn in Javascript programming

3. Learn how to create all kinds of regular expressions – from simple to very complicated patterns

4. Take pattern matching to the next level by learning the various options you have in Javascript regex

5. Learn how to use brackets, metacharacters and character ranges and sets to create advanced regex patterns

6. Learn how to test regular expressions and use them in appropriate string and regex methods in Javascript

7. Learn the simplicity of lazy and greedy matching

8. Learn how to use grouping, capture groups and backreferencing to create updated, and accurate regex patterns of this decade

9. Learn how to use lookaheads, lookbehinds, anchors and unicode properly

10. Learn the latest ES6, 7 and 8+ updates of Javascript regular expressions.

How is this course designed?

Our course has 4 modules, where each module will thoroughly explain the intricacies of one of the concepts in Regular expression (with Javascript) with a wealth of over-the-shoulder examples.

We’ll be using a real world example to explain the concepts.

Here are the modules:

Module 1 – Introduction – This is the foundations module. We’ll look into what regular expressions are, how to create very basic expressions and test them without using any code.

Module 2 – Using regular expressions in Javascript – In this module, you’ll learn how to apply what you learned in the last module to Javascript. You’ll also learn about various methods you can use to test regular expressions in Javascript, and we’ll end the module with lessons on regex modifiers/flags.

Module 3 – Brackets, character ranges, sets & more – In this module, we’ll look at creating more complicated regular expressions using brackets, character ranges, sets, pipe symbol for options, character set exclusion and so much more.

Module 4 – Metacharacters – In this module, you’ll learn how to enhance your regular expressions with metacharacters that can be used to specify words, digits, whitespaces and more.

Module 5 – Anchors and Quantifiers – In this module, you’ll learn how to further perfect your regular expressions by quantifying your characters and sets and adding anchors.

Module 6 – Literal/special characters – In this module, you’ll learn how to specify special characters used elsewhere in regex literally as part of a pattern.

Module 7 – RegExp object, properties and methods – In this module, you’ll learn how to create the same regular expressions with the RegExp object and apply the various properties and methods that come along with it.

Module 8 – Lazy and Greedy matching – In this module, you’ll learn how to use lazy matching to simplify pattern matching in specific cases.

Module 9 – Grouping and Capture groups – In this module, you’ll learn how to create capture groups to get parts of matches, backreference them and so much more.

Module 10 – Lookaheads and Lookbehinds – In this module, you’ll learn how to use literally look ahead or behind a string before creating a match.

We also cover a lot of examples and real world projects, including:

1. Project #1 – Remove extra spaces from start & end of a string – Trim a string without using Trim().

2. Project #2 – E-mail validation

3. Project #3 – Mobile number validation

What you’ll learn

  • Learn the core concepts of regular expressions – how they work, how to create them and how to apply them
  • Learn how to apply the regular expression concepts you learn in Javascript programming
  • Learn how to create all kinds of regular expressions – from simple to very complicated patterns
  • Take pattern matching to the next level by learning the various options you have in Javascript regex
  • Learn how to use brackets, metacharacters and character ranges and sets to create advanced regex patterns
  • Learn how to test regular expressions and use them in appropriate string and regex methods in Javascript
  • Learn the simplicity of lazy and greedy matching
  • Learn how to use grouping, capture groups and backreferencing to create updated, and accurate regex patterns of this decade
  • Learn how to use lookaheads, lookbehinds, anchors and unicode properly
  • Apply your knowledge in real world problems with illustrated explanations on how to solve them.
Table of Contents

Introduction
1 Introduction

Using Regular Expressions in Javascript
2 Basic regex pattern
3 Test method in Javascript
4 Match method in Javascript
5 Regular expression modifiersflags part 1
6 Regular expression modifiersflags part 2
7 Using regular expressions in search and replace functions

Brackets and range of characters – advanced patterns
8 Brackets with characters and numbers list
9 Number ranges within brackets
10 Alphabet ranges within brackets
11 Using pipe characters to specify options
12 Carot symbol to exclude characters
13 Multiples of the same alphabetsnumberscharacters

Metacharacters – Enhance your regular expressions
14 Wildcard character
15 Word character
16 Digits character
17 Beginning & Ending of the word character

Anchors and Quantifiers
18 Start & end anchors and strings with just that pattern
19 Quantifiers part 1
20 Quantifiers part 2
21 Quantifiers part 3

Literalspecial characters
22 Matching literal or special characters

RegExp objects, properties and methods
23 RegExp to create regular expressions
24 RegExp properties
25 S flag – ES2018 update
26 DotAll property – ES2018 update
27 RegExp methods

Lazy and greedy matches
28 Greedy matching explained
29 Lazy matching – why do you need it and how to activate it
30 When do you not need lazy matching

Grouping and Capture groups
31 Grouping in Javascript Regex
32 Get a part of the capture group as separate matches in an array
33 Nested capture groups
34 Named capture groups
35 Using capture groups in search and replace functions
36 Non-capturing parentheses
37 Backreferencing a group

Lookaheads and Lookbehinds
38 Positive and negative lookaheads
39 Positive and negative lookbehinds

Real world projects
40 Project #1 – Remove extra spaces from start & end of a string
41 Project #2 – E-mail validation
42 Project #3 – Mobile number validation