Text this: A high potential optical method for sensitive and selective detection of essential elements