mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
2 lines
104 B
TypeScript
2 lines
104 B
TypeScript
export const parsePhoneNumber = (phone: string) =>
|
|
phone.replace(/[ ()-]/g, '').replace(/\+/g, '00');
|