Jsref Regexp Dot
# JavaScript RegExp . Metacharacter
[ JavaScript RegExp Object](#)
* * *
## Definition and Usage
The . metacharacter is used to find a single character, except newline and line terminator characters.
## Syntax
new RegExp("_regexp_.")
Or a simpler way:
/_regexp_./
* * *
## Browser Support

All major browsers support the . metacharacter.
* * *
## Example
## Example
Perform a global search for "h.t" in a string:
var str="That's hot!";
var patt1=/h.t/g;
The marked text below shows where the expression gets a match:
T hat's hot!
[Try it Β»](#)
* * JavaScript RegExp Object](#)
YouTip