Text parser
You can use the Text parser tool to parse text for use in other Adobe Workfront Fusion scenario modules. The Text parser does not require a connection.
Access requirements
You must have the following access to use the functionality in this article:
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.
Text parser modules and their fields
When you configure Text parser modules, Adobe Workfront Fusion displays the fields listed below. A bolded title in a module indicates a required field.
If you see the map button above a field or function, you can use it to set variables and functions for that field. For more information, see Map information from one module to another in Adobe Workfront Fusion.
Transformers
Get Elements from HTML
Retrieves the desired elements from HTML code.
Get Elements from text
Parses elements from text based on the given pattern.
HTML to Text
Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. This module uses regular expressions (also known as regex or regexp).
A regular expression is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning. These character and metacharacters identify a pattern that can be used to search text. For example, if you wanted to search for names, you could set up a regular expression to search for a pattern that consists of two consecutive words that begin with capital letters. Regular expressions are a powerful tool for searching and manipulating text.
A discussion of regular expressions is beyond the scope of this article. We recommend the following resources:
- For the complete list of metacharacters, see Regular expressions in MDN web docs.
- For a tutorial on how to create regular expressions, we recommend RegexOne.
- For experimenting with regular expressions, we recommend the Regular Expressions 101 website. Select the ECMAScript (JavaScript) FLAVOR in the left panel.
Replace
Searches the entered text for a specified value or regular expression and replaces the result with the new value.
Data Scraping
Data scraping, sometimes called web scraping, data extraction, or web harvesting, is the process of collecting data from websites and storing it in your local database or spreadsheets. If you want to scrape data from a website and you are not familiar with regular expressions, you may use a data scraping tool.
If the data scraping tool provides a REST API, you can connect to it via our universal HTTP modules and Webhooks modules.