1.Write a console application for validating user input for given patteren?
(123)-(3215)-(874)-(789) ====èCorrect input pattern
(323)-(678)-(6587)-(654) ====èCorrect input pattern
(312)-(344)-(543)-(453) ====èwrong input pattern