Regular Expressions in Javascript - Master course + projects
4.4 (9 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
7,802 students enrolled

Regular Expressions in Javascript - Master course + projects

Learn how to create simple to complicated regular expressions in Javascript with hands on examples & real world problems
4.4 (9 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
7,802 students enrolled
Last updated 3/2020
English
English [Auto-generated]
Current price: $129.99 Original price: $199.99 Discount: 35% off
15 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5 hours on-demand video
  • 2 articles
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
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.
Course content
Expand all 45 lectures 04:54:51
+ Using Regular Expressions in Javascript
6 lectures 33:36
Basic regex pattern
04:40
Test method in Javascript
07:37
Match method in Javascript
04:23
Regular expression modifiers/flags part 1
04:32
Regular expression modifiers/flags part 2
02:48
Using regular expressions in search and replace functions
09:36
+ Brackets and range of characters - advanced patterns
6 lectures 47:30
Brackets with characters and numbers list
12:17
Number ranges within brackets
05:12
Alphabet ranges within brackets
06:46
Using pipe characters to specify options
08:14
Carot symbol to exclude characters
10:59
Multiples of the same alphabets/numbers/characters
04:02
+ Metacharacters - Enhance your regular expressions
4 lectures 27:26
Wildcard character
07:35
Word character
05:17
Digits character
09:02
Beginning & Ending of the word character
05:32
+ Anchors and Quantifiers
4 lectures 36:39
Start & end anchors and strings with just that pattern
11:55
Quantifiers part 1
06:47
Quantifiers part 2
10:44
Quantifiers part 3
07:13
+ Literal/special characters
1 lecture 11:13
Matching literal or special characters
11:13
+ RegExp objects, properties and methods
5 lectures 31:29
RegExp to create regular expressions
07:01
RegExp properties
10:36
S flag - ES2018 update
03:08
DotAll property - ES2018 update
03:08
RegExp methods
07:36
+ Lazy and greedy matches
3 lectures 17:15
Greedy matching explained
06:56
Lazy matching - why do you need it and how to activate it
07:21
When do you not need lazy matching?
02:58
+ Grouping and Capture groups
7 lectures 45:51
Grouping in Javascript Regex
04:35
Get a part of the capture group as separate matches in an array
09:08
Nested capture groups
06:46
Named capture groups
09:44
Using capture groups in search and replace functions
03:34
Non-capturing parentheses
06:07
Backreferencing a group
05:57
+ Lookaheads and Lookbehinds
2 lectures 07:33
Positive and negative lookaheads
04:52
Positive and negative lookbehinds
02:41
Requirements
  • Know the basics of Javascript
Description

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  


Why should you choose our course? 

1. We like to be thorough in our teaching. You'll find everything you need to start creating complicated regular expression patterns. You won't have to look anywhere else. 

2. We strongly advocate learning by doing, rather than just listening or reading. Our lectures are filled with a wealth of examples that explain every concept clearly. 

3. If you follow along with our examples in our over-the-shoulder trainings, and create our examples with us, you'll have a thorough understanding of what regular expressions are, and how they work in Javascript. You'll be able to confidently add this as a skill in your resume

4. We prefer creating fun projects to explain the concepts and to keep things interesting as well. You'll learn how to apply the concepts you learn in the course in the real world projects and examples.


So, what are you waiting for? Enroll now and start creating complicated, yet accurate regex patterns that can be used in real world pattern matching scenarios in no time at all!  

Who this course is for:
  • Anyone who'd like to take their Javascript skills to the next level and learn how to create regular expressions with Javascript.
  • Update your resume with your knowledge on regular expressions.
  • Anyone who'd like to learn the core concepts of regular expressions and apply it to their language of choice.
  • Can be useful for people who work with data, like data scientists, as well, because regular expression is a required skill in this field
  • Update yourself with the latest regular expressions updates in Javascript (ES6, ES7 and ES8)