Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
myPhone="1 675 676 6765"
set regEx=new RegExp
regEx.Pattern="[0-9] [0-9][0-9][0-9] [0-9][0-9][0-9] [0-9][0-9][0-9][0-9]"
regEx.IgnoreCase = True
regEx.Global = True
set rez=regEx.Execute(myPhone)
if rez.Count<>0 then
'it's ok
end if
and
regEx.Pattern="[0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]"
regEx.IgnoreCase = True
regEx.Global = True
set rez=regEx.Execute(myPhone)
if rez.Count<>0 then
'it's ok
end if