Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Java 8

"
/\*\n?\r? (?: \* ©20\d{2}.*\n?\r?) (?: \*(?:.*\n?\r?))+ \*/
"
mg

Description

Matches a copyright header in a Java-esque multi line comment

Submitted by PhiSe - 3 years ago