Brian Dunning's FileMaker Custom Functions

UKphoneFormat ( number )

Formats UK phone numbers with *new* 3 digits codes where required

  Average rating: 4.6 (23 votes) Log in to vote

john renfrew   john renfrew - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
UKphoneFormat ( "0207 111 0000" )
UKphoneFormat( "0207 111 0000 x123" )
  Sample output:
020 7111 0000
020 7111 0000 x123

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Formats UK phone numbers for London, Coventry etc. with 02x prefix, space, 4 digits, space, 4 digits



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: