formatPhonePattern

Formats a phone number with a custom separator pattern. Example: "0612345678".formatPhonePattern("XX XX XX XX XX") → "06 12 34 56 78" (French style)