checking of currency symbol