---
title: "Character Replace Processor"
slug: "character-replace-processor"
updated: 2024-11-26T17:29:26Z
published: 2024-11-26T17:29:26Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.tritondigital.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Character Replace Processor

The **Character Replace Processor** allows us to replace a series of characters or words in a cue attribute with other words or characters. This can be used to trim prefixes for example. This processor uses the .NET regular expression language for pattern and value replacement ([https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference](https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference)).

| **Param name** | **Mandatory** | **Description** | **Possible Value** |
| --- | --- | --- | --- |
| key | Yes | Name of the attribute you will modify. | Not null. |
| pattern | Yes | Character pattern we would like to replace (note: uses .NET regex patterns). | Not null. |
| value | Yes | Replacement value. |  |

**Example XML:**

```xml
<CharacterReplaceProcessor>
   <CharacterReplaceItems>
     <CharacterReplaceItem key="cue_title" pattern="PREFIX1:" value="" />
   </CharacterReplaceItems>
</CharacterReplaceProcessor>
```
