Replacing &reg; entity with numeric equivalent.