New Data formatter - Format Phone

Format: {{format_phone landline "format"}}

Example

{{format_phone landline "(%3) %3-%4"}}
Input: 9878072739
Output: (987) 807-2739

{{format_phone landline "+1-%3-%3-%4"}}
Input: 9876543210
Output: +1-987-654-3210

{{format_phone credit_card_number "%4-%4-%4-%4"}}

Input: 1234567890123456
Output: 1234-5678-9012-3456

https://help.docupilot.app/document-template/formatting-your-data#format-phone

P.s It can also be used to format any numbers, not just phone numbers.