Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Java 8

"
(Never gonna ((give you up)|(let you down)|(run around and desert you)|(make you cry)|(say goodbye)|(tell a lie and hurt you)))+
"
gm

Description

Matches chorus of Never Going to Give You Up

Submitted by Stephen Battista - 3 years ago