Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
[A-G]{1}([5])?([#b]{1})?(mM|Mm|m|M|aug|dim|add)?([679]|11)?((sus)([24]))?
/
gm

Description

this will match the frequently and rarely using musical chords in a sheet music

Submitted by anonymous - 6 years ago