Regular Expressions 101

Community Patterns

Single-line comment extraction

1

Regular Expression
PCRE (PHP <7.3)

/
\/\/::\s?([^\r\n]+?)[\r\n]
/

Description

no description available

Submitted by Jeff Hansen - 9 years ago