Podio calculation for formatting phone number
I Need a calculation for formatting phone numbers. I need the end product to be 2125551212.   Sometimes the numbers will (212) 555-1212, or 212-555-1212, or 212.555-1212 or 212.555.1212, or (212)5551212, or (212)555-1212. Changing the phone number eats a up a lot of time over a course of a day. 

  • var phone = @Client Phone number formatted;var stripped_phone= phone.replace(/[^0-9]+/g, "");var final_phone=""var phone_length = stripped_phone.length;if(phone_length == 10){var final_phone= stripped_phone;}final_phone;
This question is closed.