I have made a website with JS and php and as you can see below is my code at paste bin, I have looked around and seen regular expressions but I don't know how to use them or what I should use exactly....But basically I want to just allow the user to enter north american phone numbers and if they enter anything else then give them a message to enter a valid phone number...
Below is my code to help you understand what I have..What I need and what my site's interface looks like...
possible phone numbers user can enter are 9058554678 OR 4167641689...
This is how the the list looks:
http://dev.icalapp.rogersdigitalmedia.com.rogers-test.com/Edit.php