RegExp Objects in JavaScript

Introduction to RegExp objects in JavaScript and methods (exec and test) to utilize the RegExes.

We'll cover the following

We now know how to read and create RegExes in JavaScript. In this lesson, we will dig deeper into the JavaScript object RegExp which creates and utilizes RegExes.

RegExp object

In JavaScript, a regular expression is defined by a RegExp Object with methods which help utilize RegExes.

Get hands-on with 1200+ tech skills courses.