I need to extract the currency code (which code be $ or £ or USD or GBP etc) from a string which could be like $1,780 or USD1,780.

Would anyone be able to suggest the best way to write apex code that can handle all cases.

Thanks