Custom Command
FunctionsRegex Functions

$replaceTextWithRegex

Uses a regular expression to replace matching queries

Usage:

$replaceTextWithRegex[text;regex;flags;new text]
Member
9/5/2026

!!exec $replaceTextWithRegex[Today is my birthday;/(birthday|party)/;gi;birthday 🎉]

Custom Command
APP
9/5/2026
Today is my birthday 🎉

Function difficulty: Easy

Tags: Replace Text With Regex Replace Regex

On this page