---
title: "RegexReplace (Opus Funktion)"
---
[TOC]

#### Beschreibung

Replaces all occurrences of Pattern in Text with Replacement using regular expressions.

#### Argumente

<table style="table-layout: fixed; width: min(100%, 534px);"><colgroup><col style="width: 16.0%"><col style="width: 12.6%"><col style="width: 71.4%"></colgroup><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr><tr><td><p>Text</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/">string</a></p></td><td><p>the string to modify</p></td></tr><tr><td><p>Pattern</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/">string</a></p></td><td><p>the regular expression pattern to match</p></td></tr></table>

#### Rückgabewert [string](../../standard-datentypen/string.md)

Text with all matches of Pattern replaced by Replacement

#### Beispiel

| `xxx` |
| --- |

#### Siehe auch

---
