pH responsive intelligent nano-engineer of nanostructures applicable for discoloration of reactive dyes.