Remove Attributes from NSMutableAttributedString Conditionally

Remove all of the attributes using setAttributes.

Or try doing this conditionally and enumerating the attributes to remove them one-by-one:

Published