Generation of Regex for Perl script

I want to generate regex for this kind of expression and want to find and replace.

like :
----> [-reset, enable;+-]

basically i want to find anything that match a pattern like this [-any string with or without space-] and remove the whole thing
Please looking for some suggestions

$ echo '[string 1 ] apple [ string 2]' | perl -pi -e ' s/[[][^]]*]//g; '
 apple
1 Like