Answers for "regex all character including newline lines javascript"

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

js new line regex

/[\n\r]/g
Posted by: Guest on June-11-2021

Code answers related to "regex all character including newline lines javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language