Phone number validation on catalog form

raj99918
Tera Contributor

Hi ,

 

Phone number validation on form it should contains only numbers with - and + 

 

How can I achieve this one from regex?

 

Thanks 

10 REPLIES 10

try this one

/^\+?\d+(\s*-?\s*\d+)*$/