$regexReplace

Uses a regular expression to replace matching queries

Usage

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

Example 1:

Member07/17/2024
!!exec $regexReplace[My age is 900 years old.;\d+;g;[SECRET AGE]]

Custom Command Bot 07/17/2024
My age is [SECRET AGE] years old.