| Name | <ElementTag.replace_text[((first)regex:)<element>].with[<element>]> |
| Returns | ElementTag |
| Description | Returns the element with all instances of a element replaced with another.
Specify regex: at the start of the replace element to use Regex replacement. Specify firstregex: at the start of the replace element to Regex 'replaceFirst' |
| Group | element manipulation |
| Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1256 |