Regular Expressions 101

Community Patterns

comment_repl

1

Regular Expression
PCRE (PHP <7.3)

/
(?:(^(?:\s*)\/{4,}\n)+(^(\s*)\/{2,3}(?!\/)[\s\S]*\n)*\1)
/
gm

Description

no description available

Submitted by anonymous - 4 years ago