JavaScript Regular Expressions in JavaScript Reformatting User Input Reformatting a Telephone Number

Need help with Project #3 (Build an Interactive Form).

I'm stuck on project 3. Can anyone share with me any resources or books that helped them with this assignment? Thanks!