Regular Expressions 101

Library entries

Remove double-slash comments

Vote

0

Regular Expression
python

"
("(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|(?:[^/\n"']|/[^/*\n"'])+|\n)|(/\* (?:[^*]|\*[^/])*\*/)|(?://(.*)$)$
"
gm

Description

Loading markdown...
Submitted by jlacroix - 6 years ago