Use capture definitions to refine your data
  • 24 May 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Use capture definitions to refine your data

  • Dark
    Light
  • PDF

Article Summary

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 displays after the desired data.

start to finish

Make sure you double-check 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 advanced parsing that matches a certain pattern instead of a specific text, check the box next to Regular Expression.


Was this article helpful?