Reply To: Change telephone nr formatting? (Jongware, I need your help buddy!)

Home Page / Forums / General InDesign Topics (CLOSED) / Change telephone nr formatting? (Jongware, I need your help buddy!) / Reply To: Change telephone nr formatting? (Jongware, I need your help buddy!)

#57020

That's really good, Roland! Pat on the back from Holland.

I had a go at it, and you seem correct: it needs 5 groups (perhaps 4, if you don't include the '6' and put it in the replace).

You are in luck if all of the phone numbers are formatted the way you shown, otherwise it'd need .. let me see … This monstrosity:

Find

31 6(d) *(d) *(d) *(d) *(d) *(d) *(d) *(d)

Replace

31 6 $1$2$3$4 $5$6$7$8

— and you'd better hope all of them start with the same “31 6” prefix, because InDesign's GREP stops counting at $9!

This article was last modified on September 15, 2010

Comments (0)

Loading comments...