# Refang transform action

## Use case

You have an email with a defanged URL inside of it similar to something like: hXXps\[:]//rewst\[.]io/aprilfools/surprise.html

You would like to refang it and make the URL directly usable.

## Overview

<figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2Fq0J3WVjpmUIAdXML7Apt%2FScreenshot%202025-04-14%20at%2012.17.49%E2%80%AFPM.png?alt=media&#x26;token=2a4d1e73-9ba8-4704-a708-17acff4d8e21" alt=""><figcaption></figcaption></figure>

Given a defanged URL, this action will refang the url by removing the added characters that prevent it from being directly usable.

## Parameters

<table><thead><tr><th width="217">Parameter</th><th width="417.3333333333333">Description</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>URL</td><td>URL to refang</td><td>true</td></tr></tbody></table>

## Usage

<details>

<summary>Example 1: Refang hXXps[:]//rewst[.]io/aprilfools/surprise.html</summary>

Inputs:

Colon: True

Dots: True

URL: [**https://rewst.io/aprilfools/surprise.html**](https://rewst.io/aprilfools/surprise.html)

</details>

## Results output

The expected result of this transform is a standard url.

Result from Example 1:

```
https://rewst.io/aprilfools/surprise.html
```
