Hi Can anyone please help get all the single line and multiline comment in a given javascript string using regex.
Idea is to replace the single and multiline comment with empty quotes. so that I get the valid code from the string.
I am looking for a solution in javascript with regex.