The format I need for this form is (360)555-5555 (no space, single dash, with parenthesis). I looked around on here already but didn't see an answer to this specific set up. Not sure why it isn't working with the regex below.
var phonepattern = /^\\(\\d{3}\\)\\d{3}[-]\\d{4}$/;