From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript RegExp Object
The . metacharacter is used to find a single character, except newline or other line terminators.
|
new RegExp("regexp.") or simply: /regexp./ |
ExampleDo a global search for "h.t" in a string:
The marked text below shows where the expression gets a match:
Try it yourself » |
JavaScript RegExp Object
From http://www.w3schools.com (Copyright Refsnes Data)