utils/formatters/card_month_input_formatter library

FxCardMonthInputFormatter - formats the string as per the credit card expiry date format