Regular Expressions 101

Community Patterns

1...34567...11

Rick Roll

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 - 2 years ago