Video description
Create simple to complex regular expressions in JavaScript using practical examples and real-world problems
About This Video
- Use grouping, capture groups, and backreferencing to create updated and accurate regex patterns
- Discover the latest updates in ES6, ES7, and ES8+ for regular expressions in JavaScript
- Take pattern matching to the next level by learning the different options available in JavaScript regex
In Detail
Regular expressions are an essential part of problem solving in computer science. It can be tricky to learn if you don't approach the topic right. This course breaks down regular expressions into manageable parts so that you can learn them quickly and retain the concepts for much longer. This course is useful for both JavaScript programmers and programmers of other languages because it focuses 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 other languages. Every concept is explained using a wealth of examples to help you understand the concepts better.
Table of contents
-
Chapter 1 : Introduction
- Introduction 00:03:01
- An Introduction to creating regular expressions 00:11:16
-
Chapter 2 : Using Regular Expressions in JavaScript
- Basic regex pattern 00:04:40
- Test method in JavaScript 00:07:37
- Match method in JavaScript 00:04:23
- Regular expression modifiers/flags part 1 00:04:32
- Regular expression modifiers/flags part 2 00:02:48
- Using regular expressions in search and replace functions 00:09:36
-
Chapter 3 : Brackets and range of characters - advanced patterns
- Brackets with characters and numbers list 00:12:17
- Number ranges within brackets 00:05:12
- Alphabet ranges within brackets 00:06:46
- Using pipe characters to specify options 00:08:14
- Carot symbol to exclude characters 00:10:59
- Multiples of the same alphabets/numbers/characters 00:04:02
-
Chapter 4 : Metacharacters - Enhance your regular expressions
- Wildcard character 00:07:35
- Word character 00:05:17
- Digits character 00:09:02
- Beginning & Ending of the word character 00:05:32
-
Chapter 5 : Anchors and Quantifiers
- Start & end anchors and strings with just that pattern 00:11:55
- Quantifiers part 1 00:06:47
- Quantifiers part 2 00:10:44
- Quantifiers part 3 00:07:13
- Chapter 6 : Literal/special characters
-
Chapter 7 : RegExp objects, properties and methods
- RegExp to create regular expressions 00:07:01
- RegExp properties 00:10:36
- S flag - ES2018 update 00:03:08
- DotAll property - ES2018 update 00:03:08
- RegExp methods 00:07:36
- Chapter 8 : Lazy and greedy matches
-
Chapter 9 : Grouping and Capture groups
- Grouping in JavaScript Regex 00:04:35
- Get a part of the capture group as separate matches in an array 00:09:08
- Nested capture groups 00:06:46
- Named capture groups 00:09:44
- Using capture groups in search and replace functions 00:03:34
- Non-capturing parentheses 00:06:07
- Backreferencing a group 00:05:57
-
Chapter 10 : Lookaheads and Lookbehinds
- Positive and negative lookaheads 00:04:52
- Positive and negative lookbehinds 00:02:41
- Chapter 11 : Real world projects
Product information
- Title: Regular Expressions in JavaScript – Master Course and Projects
- Author(s):
- Release date: May 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800563544
You might also like
book
Regex Quick Syntax Reference: Understanding and Using Regular Expressions
This quick guide to regular expressions is a condensed code and syntax reference for an important …
book
The Joy of JavaScript
Whether building interactive browser-based applications or creating server-side applications in Node, JavaScript is the most widely …
video
JavaScript Bible - JavaScript and ES6 Bootcamp 2019
This course covers everything you need to know about JavaScript to become a frontend web developer, …
video
Learning Regular Expressions
Regular expressions are a powerful tool that can help you to find, replace and format text …