Search for
some_unicode\[[^\]]*\]
and replace with nothing.
Explanation:
\[
: Match a literal [
.
[
: Match a character class with the following properties (here [
is a metacharacter, starting a character class)...
^\]
: "any character except a literal ]
" (^
at the start of a character class negates its contents).
]*
: ...zero or more times. Note again the unescaped ]
, ending the character class.
\]
: Match a literal ]
.
This of course will only work if there can be no brackets inside brackets. How to actually format and use the regex is highly dependent on the language/tool you're doing this with; so if you add another tag to your question specifying the language, I can give you a code example.