regex Удалить кронштейны и содержимое
/\[.*?\] /g
[A] this is a song [D] [Am] i am [Adim] Am [f] // input
this is a song i am Am // output
Amused Aardvark
/\[.*?\] /g
[A] this is a song [D] [Am] i am [Adim] Am [f] // input
this is a song i am Am // output