On Sat, May 25, 2024 at 9:16 AM Stefan Thomas <kontrapunktste...@gmail.com>
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 =  {
>     \clef "treble" | % 1
>     R1*8 | % 9
>     \mark \markup { \box { A   } } R1*8 -\markup{ \tiny {Lija+Tambor} }
>     \mark \markup { \box { B   } }
>      R1*8
>     \mark \markup { \box { C   } }
>     r4 <f'' b''>2. \fermata :32
>     }
>
> You could try something like this:

/\\mark\s*\\markup\s*\{\s*\\box\s\{\s*\w+\s*\}\s*\}/gm



--
Knute Snortum

Reply via email to