---
layout: page
title: "Replace Text"
node_type: "nodetool.text.Replace"
namespace: "nodetool.text"
---

**Type:** `nodetool.text.Replace`

**Namespace:** `nodetool.text`

## Description

Replaces a substring in a text with another substring.
    text, replace, substitute

    Use cases:
    - Correcting or updating specific text patterns
    - Sanitizing or normalizing text data
    - Implementing simple text transformations

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` | The input text. | `` |
| old | `str` | Substring to find. | `` |
| new_value | `str` | Replacement string. | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.text](../) namespace.
