I have a string, dynamically generated from a website, that I would like to change.
I already know you need to change the string to a NSMutableString, but the part I want to remove is almost never the same. (e.g. [XXXXX] or [XABXX] ... there are thousands of combos).
The only static parts are the square brackets on either end and that there are 5 characters in between.
How would I recognise and remove this string of seven characters ([*****], with the *'s representing a random letter)?