Find text, remove brackets, and convert to superscript
Apologies if this was not posted in the appropriate Community. There are none for Automator or Applescript and so this one seemed most relevant.
I have a Numbers spreadsheet wherein there are many cells containing text adjacent to other text, delimited by brackets (e.g., abc[123]). I want to create an Automator service, or Applescript app (still pretty new to this, so I am not sure which would be more applicable to my needs), that will find the brackets and text between the brackets (e.g., [123]), remove the brackets (e.g., 123), and convert the text within the brackets to a superscript (e.g.,123), with the final output being "abc123" (and yes, I at least knew how to use the HTML editor to create that superscript with the <sup></sup> tags!).
Any help would be greatly appreciated. Thank you.
MacBook Pro (Retina, 13-inch, Mid 2014), OS X Yosemite (10.10.2)