Refine Captured Text
  • 24 May 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Refine Captured Text

  • Dark
    Light
  • PDF

Article Summary

Refine Captured Text is a tool in the Agent Builder that provides a set of options that help refine the text. You can use it to parse data into a field or replace characters in order to make your output meet your needs.

Common uses

  • Separate the city, zip, state, and street address from a full address.
  • Remove the currency sign from the price.
  • Use a RegEx to refine the captured text.
  • Remove whitespaces and line breaks.
  • Decode HTML and URL encoded characters.

Opening the Refine Captured Text window

In the Agent Builder:

  1. Select the block or line of text that you want to capture.
  2. Select Capture Text.
  3. Enter a name for the field.
  4. Select SAVE.
  5. Right-click the capture action in the Actions List.
  6. Select Refine Captured Text.

refine1

capture text

Once the window is open, you can decide whether to parse the Text or the HTML.

refine3(1)

Other tasks you can complete in the Refined Captured Text window:

Check the Regular Expressions (RegEx) box to write specific expressions to your capture.
Mozenda's default syntax or RegEx help create an agent that refines data and collects only what you need. The expressions can be written with plain text in Capture Definitions or Content Replacement or as a Regular Expression. See Use RegEx to find text strings.

regex


Was this article helpful?