#regex #tips
JavaScript does not have a single-line modifier. Use \S\s instead of a dot if you want to match any character including newlines.
JavaScript does not have a single-line modifier. Use \S\s instead of a dot if you want to match any character including newlines.