$replaceTextWithRegex

Uses a regular expression to replace matching queries

Usage:

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


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