About 1,750,000 results
Open links in new tab
  1. Regular expressions - JavaScript | MDN - MDN Web Docs

    Jan 24, 2025 · Regular expressions are patterns used to match character combinations in strings. In JavaScript, regular expressions are also objects. These patterns are used with the exec() …

  2. JavaScript RegExp Object - W3Schools

    In JavaScript, the RegExp object is a regular expression object with predefined properties and methods. The test() method is a RegExp expression method. It searches a string for a pattern, …

  3. Regular expression syntax cheat sheet - JavaScript | MDN - MDN Web Docs

    Oct 28, 2024 · This page provides an overall cheat sheet of all the capabilities of RegExp syntax by aggregating the content of the articles in the RegExp guide. If you need more information …

  4. JavaScript RegExp Reference - W3Schools

    A regular expression is a pattern of characters. The pattern is used for searching and replacing characters in strings. The RegExp Object is a regular expression with added Properties and …

  5. JavaScript RegExp (Regular Expression) - GeeksforGeeks

    Dec 3, 2024 · In JavaScript, RegExp is an object that is used to create regular expressions, which are patterns used to match character combinations in strings. There are two primary ways to …

  6. RegExp - JavaScript | MDN - MDN Web Docs

    Apr 28, 2025 · For an introduction to regular expressions, read the Regular expressions chapter in the JavaScript guide. For detailed information of regular expression syntax, read the regular …

  7. Regular Expressions (RegEx) in JavaScript – A Handbook for …

    Feb 27, 2024 · How to Use Regular Expressions in JavaScript. You can use regular expressions with various methods available for both the RegExp and String objects in JavaScript. Some …

  8. JavaScript Regular Expressions (RegExp) Examples

    Nov 27, 2024 · Regular Expressions in JavaScript provide robust pattern-matching capabilities that are useful for validating input, searching and replacing text, and more. Here, we will …

  9. JavaScript Regular Expressions - JavaScript Tutorial

    Use /pattern/ or RegExp constructor to create a regular expression. Use the ignore ( i ) and global ( g ) flags to modify the matching behavior. Use the RegExp.test() method to determine if a …

  10. How to Use Regular Expressions in JavaScript – Tutorial for …

    Dec 24, 2024 · Regular expressions are an essential tool for effective text processing and manipulation in JavaScript. This comprehensive guide will teach you regex basics, patterns, …

Refresh