Re: Grep help for musicxml

2022-12-06 Thread 'Marcel Lamers' via BBEdit Talk
Thx JJ, that works great! On Monday, 5 December 2022 at 21:45:30 UTC+1 jj wrote: > Hi Marcel, > > You could try this. > > Find: > > > > (?s)())+)()\n((?:.(?!) > > Replace: > > > \n\n\2\n\n\n\1\3 > > HTH > > Jean Jourdain > On Monday, December 5, 2022 at 8:27:49 PM UTC+1 Marcel Lamers w

Re: Grep help for musicxml

2022-12-05 Thread 'Marcel Lamers' via BBEdit Talk
It gets much simpler if I add e.g. a ! before every first. I can then search for ()([^!]+)()([^!]+)() On Monday, 5 December 2022 at 17:13:42 UTC+1 Marcel Lamers wrote: > Hi, > > I have a musicxml file that is not properly imported into my music > notation app and I have to change the syntax to

Grep help for musicxml

2022-12-05 Thread 'Marcel Lamers' via BBEdit Talk
Hi, I have a musicxml file that is not properly imported into my music notation app and I have to change the syntax to do a better import. I gave it a go with grep but can't seem to get the proper pattern to make the change. In short, I want to remove the dynamics tags plus content from a note