Answers for "javascript regex single line"

0

javascript regex single line

//s Flag 
// replace . with [\s\S] ad ex.

/<!--(.*?)-->/gs ->>>>> /<!--([\s\S]*?)-->/g

//or

/<!--(.*?)-->/gs ->>>>> /<!--[\s\S]([\s\S]*?)[\s\S]-->/g
Posted by: Guest on April-06-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language