Problem
It is very common for phone numbers to be formatted with dashes, parenthesis, and spaces. For example, my iPhone will automatically format 2345678899 to (234) 567-8899. If I then copy that phone number into the New Chat page in Expensify, it won't recognize it as a phone number that I can create a chat with. It only recognizes 2345678899 or +12345678899.

This is unlike the sign in page, which handles phone numbers like this just fine.
Solution
Treat phone numbers with these characters as phone numbers. We should not modify the user's input that they type, but we should strip these characters when validating whether it is a phone number. That would mean that I can create a chat with (234) 567-8899. Or, if I search for (234) 567-8899 it will find my chat with +12345678899.
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~0185423b9270557864
- Upwork Job ID: 1630220601905479680
- Last Price Increase: 2023-02-27
Problem
It is very common for phone numbers to be formatted with dashes, parenthesis, and spaces. For example, my iPhone will automatically format
2345678899to(234) 567-8899. If I then copy that phone number into theNew Chatpage in Expensify, it won't recognize it as a phone number that I can create a chat with. It only recognizes2345678899or+12345678899.This is unlike the sign in page, which handles phone numbers like this just fine.
Solution
Treat phone numbers with these characters as phone numbers. We should not modify the user's input that they type, but we should strip these characters when validating whether it is a phone number. That would mean that I can create a chat with
(234) 567-8899. Or, if I search for(234) 567-8899it will find my chat with+12345678899.Upwork Automation - Do Not Edit