The first thing I'd try would be a mask converter.
You should be able to accept the full line of phone no.+name, and throw away the non-digits.
http://www-10.lotus.com/ldd/ddwiki.nsf/dx/converters-on-an-xpage.htm
(I've not tried this myself, just what I'd look into first).