Class to detect currency from any string