I know how to remove specific character within a string but not sure about the following:
e.g. string: Code [7845] [5589] [554] [4]
I need to remove all instances of [
and ]
and everything in between them, then trim whitespace off so I end up with simply: Code
Is this possible?