Closed hashwin closed 2 years ago
The current phone regex does not match international format like "+14129996294". Maybe this regex could be added as a separate option:
/^\+(?:[0-9] ?){6,14}[0-9]$/
Hey @hashwin, thanks for the suggestion! Added support for scrubbing E.164 numbers in the commit above.
The current phone regex does not match international format like "+14129996294". Maybe this regex could be added as a separate option: