The client I’m helping implement a self-help IVR system for wishes to look up information on the calling customer, however their phone number data set is not in a standardized format. Ex:
(XXX) XXX-XXXX
XXX-XXX-XXXX
My question is: when I’m running an API search on Contacts for phone numbers, is there a way to search multiple formats at once, or use wildcard characters to find all phone numbers matching any format? Ex:
Assuming that ‘%’ is a wildcard…
%XXX%XXX%XXXX
Would match on (XXX) XXX-XXXX and XXX-XXX-XXX
Or, assuming ‘|’ stands for additional query search…
https://app.goclio.com/api/v2/contacts?query=(XXX) XXX-XXXX | XXX-XXX-XXXX
Would search for both phone number formats.
Any help would be greatly appreciated.