Regular Expressions 101

Library entries

Javascript Comments

Vote

0

Regular Expression
javascript

/
(\/\*[\s\S]*?(.*?)\*\/)|(\/\/.*)
/
gm

Description

Loading markdown...
Submitted by William Ramsey - 5 years ago