Regular Expressions 101

Library entries

Comment Separator in Regex

Vote

1

Regular Expression
pcre

/
(?:(.*)?((?:\/\/.*|--.*|\/\*.*\*\/))(.*))
/
g

Description

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