Skip to main content

Parse a URL automatically

How to extract a URL from your documents / emails

Prerequisite

This article assumes you are familiar with using field formats to normalize and format data in Parseur. For more information, refer to this article.

URL Format

Use the URL format when a field contains a web address and you want it extracted as a clean, consistent link, ready to send to your spreadsheet, CRM or integration.

What the URL format does

When you set a field's output format to URL, Parseur will:

  • Find and extract the web address from the field's content, even when it's surrounded by other text

  • Add https:// when the address has no protocol, e.g. parseur.com becomes https://parseur.com

  • Remove extra spaces, line breaks and trailing punctuation picked up during parsing]

  • Return an empty value if no valid URL is found, so bad data doesn't reach your integrations

How to set it up

  1. Open your mailbox and go to the template (or AI field) you want to edit

  2. Click the field that contains the link

  3. Under Output format, select URL

  4. Save, then reprocess a document to check the result

Examples

Parsed text

Output with URL format

Visit us at www.example.com/pricing.

https://www.example.com/pricing

Tracking: https://track.example.com?id=123

https://track.example.com?id=123

Good to know

  • The URL format only cleans up the link. To download and parse the page or file behind it, use the Linked Document format instead.

  • Emails only: Use this option if the URL you are looking to extract is hidden in the UI, i.e. as a button, as these URLs will not be returned by default.

  • If a field contains several URLs, only the first one is kept.

Did this answer your question?