$regexReplace

Uses a regular expression to replace matching queries

Usage

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

Example 1:

Member01/03/2025
!!exec $regexReplace[My age is 900 years old.;\d+;g;[SECRET AGE]]

Custom Command Bot 01/03/2025
My age is [SECRET AGE] years old.