Regular expression syntax
Regex wildcard dot
Matches a character other than a line terminator unless s is enabled; Unicode-aware mode matches code points.
Formal Syntax & Structure
javascript syntaxjavascript
.Working Example
Example Snippetjavascript
console.log(/./s.test("\n"));