Regular Expressions 101

Community Patterns

regex for comments .py/.js/.c++

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^\/[*\/]{1}|#|'{3}
/
gm

Description

my first regex about comments in c++, js, python

Submitted by anonymous - 2 years ago