Are we up to your expectations? Let us know what you make of CodeGuage in this quick 5-minute survey.
Course image

JavaScript RegExp

Matching patterns within strings in JavaScript

Table of Contents
  • Difficulty: Novice
  • Duration: 2 hrs 42 mins
  • Units: 1
  • Chapters: 12
  • Quizzes: 3
  • Exercises: 1
  • Projects: -
Start Learning
Category: Programming

Presumed knowledge

  1. JavaScript

    This course explores regular expressions in JavaScript, likewise knowledge of the core language and its APIs is assumed.

Course overview

Regular expressions, or simply regex, is a pattern-matching technology used widely across programming languages with the string data type to carry out complex searching. Regular expressions can be used to find simple to extremely complicated patterns within strings and extract them out in order for further processing.

Where string-based searching finds its stop, regex-based searching finds its start. Regular expressions are extremely powerful, useful and time-saving. Theoretically, they aren't very complicated to understand, however, if not understood the right way, they can quickly become really ugly!

This course teaches you how to work with regular expressions specifically in JavaScript. That is, you'll get to explore the built-in RegExp interface; how to construct regular expressions in JavaScript; how to change between fixed and dynamic expressions; and so on. You will learn a lot of concepts in the way and actually learn regular expressions the right way.

Learning outcomes

By the end of this course, you will know:

  • How to construct regular expressions for basic search patterns.
  • How to work with the RegExp interface in JavaScript.
  • How to craft regular expressions leveraging such diverse ideas as character sets, character classes, assertions and boundaries.
  • How to use flags to modify searching behavior to solve a wider array of searching problems.
  • What is grouping and backreferencing, and how they're vital to storing matched portions in a search and then operating on them.
  • How to analyze a searching problem and then design a regular expressions to test for it.

Table of contents

Frequently asked questions

Share your experience

Empower others and help shape new learning journeys!

We are really glad to know that our immense effort on creating this and other suchlike courses got you here. We believe that your insights regarding this course can inspire and guide others on their learning path. We'd really love to hear about your viewpoint on the course and how it helped you improve your skills.

The best part is that you get to post the review from your own Instagram or Twitter account, while mentioning CodeGuage in your post. The process to follow is really simple:

  1. Write about your experience of a given course and how it helped you in levelling up your skills.
  2. Include the @codeguage handle in your post. (That's important!)
  3. Include the #SkilledUpWithCodeGuage hashtag in your post.

And that's it! It's that simple.

We sincerely thank you for being an integral part of our community and helping us shape a brighter future for aspiring programmers and mathematicians.

Together, let's build a community of learners. Happy learning! 🙂

Why this course?

  • Free of cost

    No need to buy any subscriptions, make any payments, or create any accounts. All the content is available for free.

  • Well-structured

    Content throughout the course is organized in a chronological fashion, ensuring a clear and intuitive learning experience.

  • Simple to understand

    Everything is explained in plain and concise words, right from the perspective of an absolute beginner.

  • Detailed explanations

    Certain concepts require a pretty deep insight. Fortunately, we provide all that insight in easy words.

*The durations mentioned on this page are merely an estimate; the actual time completing the underlying topic/course would obviously be much greater.

More to explore

Learning shouldn't stop at just one course!