Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Latest commit

 

History

History
75 lines (67 loc) · 1.72 KB

File metadata and controls

75 lines (67 loc) · 1.72 KB

<-- Go back to README.md

Replace

Replaces any appearance of the provided [target] with the provided [replacement] in the text.

Placeholder patterns

  • %formatter_text_replace_[target]_[replacement]_<text>%

Options

Option Description

target

The text to target and replace with replacement.
Text can be an empty String.

⚠️ You have to use {{u}} to target _ ⚠️
Type: String
Required? No

replacement

The text to replace the target with.
Text can be an empty String.

⚠️ You have to use {{u}} to replace target with _ ⚠️
Type: String
Required? No

text

The text in which the provided target should be replaced by the replacement.
Type: String
Required? Yes

Examples

/papi parse me %formatter_text_replace_ __Re pla ce%        -> Replace
/papi parse me %formatter_text_replace_{{u}}__Re_pla_ce me% -> Replace me