match and matchAll methods | String Object In JavaScript

🎁 Join my channel to get access to perks: 🧡 Hello All JavaScript Lovers Outhere! Today you’re going to learn about the String Object In JavaScript. This tutorial is a series of videos, in each video we will discuss a method (or more) of the String Object in JavaScript. In today’s video, you’re going to learn about the match, and matchAll methods. The match() method retrieves the result of matching a string against a regular expression. The matchAll() method returns an iterator of all results matching a string against a regular expression, including capturing groups. 🟢🟠 The () and (). 🔷 Syntax : match(regexp) 🔹regexp : A regular expression object. If regexp is not a RegExp object, it is implicitly converted to a RegExp by using
Back to Top