pattern telefone js
snippet in javascript

pattern telefone js

user7514

/^\([1-9]{2}\) (?:[2-8]|9[1-9])[0-9]{3}\-[0-9]{4}$/