Regular Expressions 101

Library entries

strip text enclosed in parentheses that does not match any keyword(s)

Vote

-2

Regular Expression
pcre

/
\((?!([^\(\)\[\]]*(\b)(ARR|ARRANGEMENT|ARRANGEMENTS|ARRANGED|CHOPPED|DUB|EDIT|FT|FEAT|FEATURING|INSTRUMENTAL|MASH UP|MASHUP|MASH-UP|MIX|REMIX|REPRISE|SCREWED|TITLE|VERSION)(\b)[^\(\)\[\]]*)).*?\)
/
g

Description

Loading markdown...
Submitted by marie bacuno - 7 years ago