RegExReplace Transpose Chords
Posted: 17 Jun 2018, 00:53
I need a RegExReplace for each below, replace X with Y
This will be the very first X or after "^" or "^^" and before "/" and or "," or none
^^Xm75/X,^^X7m#13/X
^XMb5/X
Xdim7
X,X
This will be the first after the / and before "," if there
^^Xm75/X,^^X7m#13/X
^XMb5/X
Xdim7/X
This will be the very first X after , or after ",^" or ",^^" and before / or none
^^Xm75/X,^^X7m#13/X
^X/X,^^X7m#13/X
Xm75/X,^^X7m#13/X
^^Xm75/X,^X7mb9/X
^Xm75/X,X7m#13/X
This will be the X after "," and "/"
^^Xm75/X,^^X7m#13/X
^X/X,^^X7m#13..sd/X
Xm75/X,^^X7m#13/X
^^Xm75/X,^X7m#13/X
^Xm75/X,X7m#13/X
They are just music chords that will be transposed there are 1 or 2 chords (cut to the Clipboard then transposed and pasted), if there are 2 they are separated by a "," if they are slash chords they will have a note on the end C#m7b5/G so to transpose the first part of the chord only, up I need to change C# to D: Dm7b5/G, if I want to transpose the slash note only, /G to /Ab: C#m7b5/Ab
I hope I have explained it clear enough,
thanks.
This will be the very first X or after "^" or "^^" and before "/" and or "," or none
^^Xm75/X,^^X7m#13/X
^XMb5/X
Xdim7
X,X
This will be the first after the / and before "," if there
^^Xm75/X,^^X7m#13/X
^XMb5/X
Xdim7/X
This will be the very first X after , or after ",^" or ",^^" and before / or none
^^Xm75/X,^^X7m#13/X
^X/X,^^X7m#13/X
Xm75/X,^^X7m#13/X
^^Xm75/X,^X7mb9/X
^Xm75/X,X7m#13/X
This will be the X after "," and "/"
^^Xm75/X,^^X7m#13/X
^X/X,^^X7m#13..sd/X
Xm75/X,^^X7m#13/X
^^Xm75/X,^X7m#13/X
^Xm75/X,X7m#13/X
They are just music chords that will be transposed there are 1 or 2 chords (cut to the Clipboard then transposed and pasted), if there are 2 they are separated by a "," if they are slash chords they will have a note on the end C#m7b5/G so to transpose the first part of the chord only, up I need to change C# to D: Dm7b5/G, if I want to transpose the slash note only, /G to /Ab: C#m7b5/Ab
I hope I have explained it clear enough,
thanks.