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