Thanks, Andrew. I've got this all working great now.
For reference, how would I adapt the above code to remove every bracket from, say, three specific custom styles (rather than just one)? I tried a few methods but couldn't get anything to work. I might need to do this in the future.
|