| Name | <ListTag.replace[(regex:)<element>].with[<element>]> |
| Returns | ListTag |
| Description | Returns the list with all instances of an element replaced with another.
Specify regex: at the start of the replace element to replace elements that match the Regex. |
| Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L1442 |