$replaceTextWithRegex

Uses a regular expression to replace matching queries

Usage:

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


Member06/01/2026
!!exec $replaceTextWithRegex[Today is my birthday;/(birthday|party)/;gi;birthday 🎉]
Custom Command Bot 06/01/2026
Today is my birthday 🎉
Function difficulty Easy
Tags: Replace Text With Regex Replace regex