JavaScript RegExp Object
The . metacharacter is used to find a single character, except newline or other line terminators.
![]()
The . metacharacter is supported in all major browsers.
Do a global search for "h.t" in a string:
The marked text below shows where the expression gets a match:
JavaScript RegExp Object
Your message has been sent to W3Schools.