But this does not work where the brackets contain only text. How can I strip out brackets containing any sort of text from a string? Or just empty brackets.$desc =~ s/\(.*?\)//gs;
In reply to Strip brackets and contents from string by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |