Результаты поиска по запросу "javascript regex example":

    1. JavaScript RegExp Example: Online Regular Expression Tester

      • Example of how to use the JavaScript RegExp Object.
      • function demoShowMatchClick() { var re = new RegExp(document.demoMatch.regex.value); var m = re.exec...

      www.regular-expressions.info

    2. JavaScript RegExp Object | Example

      • JavaScript Regular Expressions. ❮ Previous Next ❯.
      • The reference contains descriptions and examples of all RegExp properties and methods.

      www.w3schools.com

    3. Regular Expressions :: Eloquent JavaScript | Regexp golf

      • When using the RegExp constructor, the pattern is written as a normal string, so the usual rules apply for backslashes.
      • For example, as far as JavaScript’s regular expressions are concerned, a “word...

      eloquentjavascript.net

    4. Basic JavaScript Regular Expression Example — SitePoint

      • I have jotted down a quick post on a Basic JavaScript Regular Expression Example to give beginners out there a taste of the power of using Regex in jQuery/JavaScript.

      www.sitepoint.com

    5. Regular Expressions - JavaScript | MDN | Examples

      • In JavaScript, regular expressions are also objects.
      • The following examples show some uses of regular expressions. Changing the order in an input string.

      developer.mozilla.org

    6. JavaScript RegExp Reference

      • Example explained: /w3schools/i is a regular expression.
      • For a tutorial about Regular Expressions, read our JavaScript RegExp Tutorial.

      www.w3schools.com

    7. RegExp [0-9] Expression | Example

      • JavaScript RegExp [0-9] Expression. ❮ JavaScript RegExp Object. Example. Do a global search for the numbers 1, 2, 3 and 4 in a string

      www.w3schools.com

    8. JavaScript RegExp constructor Property | Example

      • ❮ JavaScript RegExp Object. Example. The constructor property returns a regular expression's constructor function: var patt = new RegExp("Hello World", "g"); var res = patt.constructor

      www.w3schools.com

    9. RegExp \s Metacharacter | Example

      • JavaScript RegExp \s Metacharacter. ❮ JavaScript RegExp Object. Example. Do a global search for whitespace characters in a string

      www.w3schools.com

    10. RegExp \n Metacharacter

      • JavaScript RegExp \n Metacharacter. ❮ JavaScript RegExp Object. Example. Search for a newline character in a string

      www.w3schools.com