Easypt

replaceRegex

..Root.String.replaceRegex

Copies this string and replaces all substrings matching regular expression replacement.

Child of:

String

Signatures:

NativeCallable, Callable

Example:

log("aBCd".replaceRegex("[a-z]", "e"));

Expected output:

eBCe