You can use this regex,
\s+\[.*(?=\b\d+)
and replace it with empty string.
You start with one or more whitespace then match a [ using \[ and then .* consumes all the characters greedily and only stops when it sees a number using positive look ahead (?=\b\d+)
0
solved Remove some specific string with special character