Avatar of mgmhicks
mgmhicks
 asked on

Validate few characters of phone number in jquery

I have a situation where I have a field that I would like to take the following format to be valid.  (999) 255-5555.  However I can have the word 'work' or cell etc... So how can I validate the first few characters (the phone number) but still allow the text after if needed?

thanks
jQuery.NET ProgrammingWeb Development

Avatar of undefined
Last Comment
Pravin Asar

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mlanda T

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Pravin Asar

Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy