The use of these functional groups is exemplified in organic synthesis of the drug tolterodine, wherein one of the steps a phenol group is protected as its tosylate and the primary alcohol as its nosylate.