The present invention provides a regenerative nanosensor device for the detection of one or more analytes of interest. In certain embodiments, the device comprises a nanostructure having a reversible functionalized coating comprising a supramolecular assembly. Controllable and selective disruption of the assembly promotes desorption of at least part of the reversible functionalized coating thereby allowing for reuse of the regenerative device.