What else is as incredibly impressive, and at the same time as horrifically ugly, as #RegularExpressions?
By the way, if you need to detect #chords in a text chord chart, here is the #regex you need:
"[A-G](b|#)?(maj|min|m|M|\+|-|dim|aug)?[0-9|11|13]*(sus)?[0-9|11|13]*(add)?[0-9|11|13]*(\/[A-G](b|#)?)?"
edit: any #Musicians out there, can you think of any edge-case chords I should test/adjust to catch? This will be part of a Free chord chart organizer, hit me with your worst.