About 244,000 results
Open links in new tab
  1. JavaScript String match () Method - W3Schools

    The Difference Between String match () and String search () The match() method returns an array of matches. The search() method returns the position of the first match.

  2. String.prototype.match () - JavaScript | MDN

    Jul 10, 2025 · The match () method of String values retrieves the result of matching this string against a regular expression.

  3. JavaScript String match () Method - GeeksforGeeks

    Jul 11, 2025 · The match () method in JavaScript is used for identifying and retrieving substrings that fit a specified pattern, defined by a regular expression. It is often used when you need to find particular …

  4. JavaScript Regex match(): Match a String Against a Regular ...

    In this tutorial, you'll learn about the JavaScript match () method to match a string against a regular expression.

  5. Javascript String match () - Programiz

    Here, we have used a regular expression to match a certain portion of the string. We can also capture certain groups in the match using the syntax as shown above.

  6. JavaScript: String match () method - TechOnTheNet

    This JavaScript tutorial explains how to use the string method called match () with syntax and examples. In JavaScript, match () is a string method that is used to find matches based on regular expression …

  7. JavaScript | Strings | .match () | Codecademy

    Jun 11, 2025 · The .match() method is used in JavaScript to find parts of a string that match a regular expression. It is commonly applied in tasks such as extracting numbers or words, validating formats …