Use capture definitions to refine your data
  • 21 Aug 2020
  • 1 Minute To Read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Use capture definitions to refine your data

  • Print
  • Share
  • Dark
    Light

Many websites contain important information within a block of text or code. Capture Definitions can use Mozenda's default syntax or regular expressions (RegEx) to help you create an agent that refines data and collects only what you need. Mozenda's default syntax is simpler but more limited than RegEx. See Use RegEx to find text strings.

Skip ahead to step 5 if you have already created the capture action and only want to refine it.

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.

RefineCaptureText

  1. Select Refine Captured Text.
  2. Select Capture Definitions.
  3. Place your cursor right before the first percent sign in the Capture Definitions > Enter the exact text that comes right before the desired text.
  4. Place your cursor right after the last percent sign in the Capture Definitions > Enter the exact text that appears after the desired data.

start to finish

Make sure you double-check on multiple examples by using the arrows.
NEXT

Confirm the refinements in the Captured Text Preview section under the Refine Captured Text window.
10. Select SAVE.

For more advance parsing that matches a certain pattern instead of a specific text, check the box next to Regular Expression.

Was This Article Helpful?