extractPhoneNumbers — Extracts phone numbers from a text.


This method is used to extract phone numbers from a given text. If one or more phone numbers are found inside a text it will extract a collection of phone numbers.

Minimum number of arguments for this method is one.

Structure of the method:



text— this is the text that will be checked for containing phone numbers inside it.


In the example below, we will show all the extractPhoneNumbers fetches a collection of phone numbers from a text.

To stay updated with the latest features, news and how-to articles and videos, please join our group on Facebook, Flexie CRM Academy and subscribe to our YouTube channel Flexie CRM.