function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ilayaraja PonnusamyIlayaraja Ponnusamy 

Liveagent chat search based on phone number using findOrCreate.map.doFind

I've been trying to search records based on phone number.
In salesforce records the phone numbers are stored in two formats such as "0123456789" and "(012) 345-6789"
I'm using "findOrCreate.map.doFind" method in pre-chat page to do the search and popup.
Search takes either one phone format at a time.
How to search for both formats?