$regexReplace

Uses a regular expression to replace matching queries

Usage

$regexReplace[text;regex;flags;new text]

Example 1:

Member06/01/2026
!!exec $regexReplace[My age is 900 years old.;\d+;g;[SECRET AGE]]

Custom Command Bot 06/01/2026
My age is [SECRET AGE] years old.