# Replace

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.Regex/tree/main/Frends.Regex.Replace>

{% tabs %}
{% tab title="Parameter: Input" %}

| Name                         | Description                                                                                               |
| ---------------------------- | --------------------------------------------------------------------------------------------------------- |
| InputText : `String`         | <p>Text to be modified.</p><p><br>Default: <code>-</code><br>Example: <code>Example text.</code></p>      |
| RegularExpression : `String` | <p>Regular expression pattern.</p><p><br>Default: <code>-</code><br>Example: <code>abc\*</code></p>       |
| Replacement : `String`       | <p>Text to replace regex matches with.</p><p><br>Default: <code>-</code><br>Example: <code>foo</code></p> |
| {% endtab %}                 |                                                                                                           |

{% tab title="Result: Result" %}

| Name                    | Description                                                                   |
| ----------------------- | ----------------------------------------------------------------------------- |
| ReplacedText : `String` | <p>Contains Regex-replaced input.<br>Example: <code>Replaced text.</code></p> |
| {% endtab %}            |                                                                               |

{% tab title="Changelog" %}

## Changelog

### \[1.1.0] - 2024-09-11

#### Update

* \[Breaking] Parameter structure has been changed from the version that has been released to NuGet feeds.
* Needed to increase the version number to fix the issue with .Net8 targeted processes not finding correct namespace.

### \[1.0.1] - 2023-06-13

#### Changed

* Documentation updates.

### \[1.0.1] - 2022-02-21

#### Changed

* Targeting changed to only include .NET 6.0 (removed .NET Standard 2.0)

### \[1.0.0] - 2022-02-09

#### Added

* Initial implementation
  {% endtab %}
  {% endtabs %}
