How to format a phone number?

It works perfectly, but I wondered what would happen in the (unlikely) instance that a phone number has more than 11 digits. Is there a way for the second part of the expression to “truncated from end to” and then have it go to any number?

What I guess I need is to format like this;

xxxxx- then the rest of the number