Extracting data from blocks of text
Another brilliant feature of the Formatter by Zapier’s Text action is its ability to extract data from blocks of text. This is especially useful if you have large strings of text and you want to return the first expressed value of an email address, number, phone number, or URL.
For example, your web form may not integrate with Zapier, but you receive a confirmation email with the submission details. The form asks the person submitting to add three email addresses, and you only want to extract the first email address entered. Alternatively, you may want to retrieve a phone number, URL, or number from this web form submission. You can use the Formatter by Zapier Text action event with the following transform functions to achieve this:
- Extract Email Address
- Extract Number
- Extract URL
- Extract Phone Number
To illustrate how to use each of these transform functions, we will use the trigger data highlighted in the following...