how to remove marks automatically

2024-05-25 Thread Stefan Thomas
Dear community, I would like to remove automatically all the "\mark \markup { \box { LETTER } }" in the below quoted text. Can I do this with regex? Does someone know how? Thanks, Stefan \version "2.22.2" violine = { \clef "treble" | % 1 R1*8 | % 9 \mark \markup { \box { A } } R1*8

Re: how to remove marks automatically

2024-05-25 Thread Silvain Dupertuis
Providing you have juste one space as in the example, in the part \mark \markup { you can do a search and replace \\mark.\\markup.{[^{]+{[^}]+}[^}]+} with nothing (I tested it in Geany on Ubuntu) dot means one character [^{]* means a non-empty sequence of characters without any { character \ n

Re: how to remove marks automatically

2024-05-25 Thread Knute Snortum
On Sat, May 25, 2024 at 9:16 AM Stefan Thomas wrote: > Dear community, > I would like to remove automatically all the "\mark \markup { \box { > LETTER } }" in the below quoted text. Can I do this with regex? Does > someone know how? > Thanks, > Stefan > > \version "2.22.2" > > violine = { >

Re: how to remove marks automatically

2024-05-25 Thread Stefan Thomas
Dear Silvain, thank You, this worked perfectly for me! Providing you have juste one space as in the example, in the part \mark \markup { you can do a search and replace \\mark.\\markup.{[^{]+{[^}]+}[^}]+} with nothing (I tested it in Geany on Ubuntu) dot means one character [^{]* means a non-em