Summary

Here is a quick summary for you!

This is it for this chapter! You officially have everything you need to mentally parse regular expressions! How does that feel? Just to summarize, here is what that means:

  • You now know that a regular expression can have special characters, character classes, quantifiers, groups (some that capture matches and others that don’t), and flags.
  • You understand how to create optional parts in your expression by using the ? character.
  • You’ve (ideally) tested some examples using the regex101.com site.

However, we haven’t seen a single line of useful JavaScript! Worry not! We’ll start tackling coding examples in the next chapter. So, if you’re eager to start with your JavaScripting, keep reading!

Get hands-on with 1200+ tech skills courses.