Answers for "regex any character including newline"

1

javascript regex match any character including newline

//([\s\S]*?) matches any character including newline
var result = str.match(/<script>([\s\S]*?)<\/script>/g)
Posted by: Guest on July-07-2020
1

regex ignore newline

[\s\S]*
Posted by: Guest on February-26-2020

Code answers related to "regex any character including newline"

Code answers related to "Javascript"

Browse Popular Code Answers by Language