I am looking for pattern where I am looking to replace string within (), []. And this has to be done in the start and end of the string.
I use this pattern.
\([^)]*\)
And this replace strings everywhere
Eg.
Original Expected
Start 1306 Sewing Machine (White) -- Singer Start 1306 Sewing Machine
(White) Start 1306 Sewing Machine -- Singer Start 1306 Sewing Machine
Start 1306 Sewing Machine [White] -- Singer Start 1306 Sewing Machine
[White] Start 1306 Sewing Machine -- Singer Start 1306 Sewing Machine