Input
Output
Modes
๐ Swap
Replace one word or phrase with another.
๐ค Letters
Swap individual letters throughout the message. Perfect for creating uwu-speak, accents, or custom letter substitutions. Add multiple letter pairs.
โ๏ธ Prefix
Add text to the beginning of every message.
โถ๏ธ Suffix
Add text to the end of every message.
๐ Wrap
Wrap every word with characters on both sides.
๐ซ Censor
Replace a word with asterisks or custom characters.
๐ณ Stutter
Make words starting with specific letters stutter. Choose which letters trigger the stutter effect.
๐ข Repeat
Match patterns that repeat a specific number of times. Find "haha" (ha repeated 2x), or match exactly 4 digits like "2024".
๐ฏ CharSet
Match any character from a set. Perfect for matching vowels, digits, or custom character groups.
๐ฆ Capture
Capture parts of text to reuse in the replacement. Great for reformatting or wrapping specific patterns.
๐ Lookaround
Match text only if it's followed by (or not followed by) something else. The condition isn't included in the match.
๐ Case
Change the case of text: UPPERCASE, lowercase, Title Case, Sentence case, aLtErNaTiNg, or SpOnGeBoB style.
๐ Reverse
Reverse text - the entire message, just the word order, or each word's letters individually.
#๏ธโฃ Hashtag
Convert words to #hashtags, @mentions, or add any custom prefix to words.
๐ Boundary
Match text at specific positions: start/end of message, start/end of words, or not at word boundaries.
๐ฃ Symbol
Match specific character types: digits, whitespace, word characters, symbols, tabs, or newlines.
โ๏ธ Split/Join
Split text on one character and join with another. Perfect for replacing spaces with underscores, etc.
๐ Markdown
Wrap text in Discord markdown: **bold**, *italic*, `code`, ~~strike~~, ||spoiler||, and more.
๐ญ Zalgo
Add creepy glitch effects with combining characters. Choose light, medium, or heavy intensity.
โ๏ธ Custom
Write your own regex pattern for advanced transformations. Enable "Auto-escape" to automatically escape special characters like . * ? so they match literally.
Regex Reference
Character Matchers
| Pattern | Matches | Example |
|---|---|---|
. | Any single character | c.t matches "cat", "cut", "c@t" |
\w | Word character (letter, digit, underscore) | \w+ matches "hello", "test123" |
\W | Non-word character (symbols, punctuation) | \W matches "!", "@", " " |
\d | Any digit (0-9) | \d+ matches "123", "42" |
\D | Non-digit | \D+ matches "abc", "!@#" |
\s | Whitespace (space, tab, newline) | \s+ matches spaces between words |
\S | Non-whitespace | \S+ matches "hello", "123" |
\t | Tab character | Matches tab characters only |
\n | Newline / line break | Matches line breaks |
Anchors & Boundaries
| Pattern | Matches | Example |
|---|---|---|
^ | Start of text | ^Hello matches "Hello" only at start |
$ | End of text | bye$ matches "bye" only at end |
\b | Word boundary | \bcat\b matches "cat" not "category" |
\B | Not a word boundary | \Bcat matches "cat" in "bobcat" |
Quantifiers
| Pattern | Matches | Example |
|---|---|---|
+ | 1 or more | a+ matches "a", "aaa" |
* | 0 or more | ab*c matches "ac", "abc", "abbc" |
? | 0 or 1 (optional) | colou?r matches "color", "colour" |
{n} | Exactly n times | \d{4} matches exactly 4 digits like "2024" |
{n,} | At least n times | \d{2,} matches 2 or more digits |
{n,m} | Between n and m times | \d{2,4} matches 2 to 4 digits |
Groups & Logic Advanced
| Pattern | Matches | Example |
|---|---|---|
(abc) | Capture group - use $1, $2 in replacement | (ha)+ matches "ha", "haha", "hahaha" |
(?:abc) | Non-capturing group | Groups without creating a capture |
a|b | Either a or b | cat|dog matches "cat" or "dog" |
[abc] | Any character in set | [aeiou] matches any vowel |
[^abc] | Any character NOT in set | [^0-9] matches non-digits |
[a-z] | Character range | [A-Za-z] matches any letter |
Lookarounds Advanced
Lookarounds let you match based on what comes before or after, without including it in the match.
| Pattern | Matches | Example |
|---|---|---|
(?=abc) | Lookahead - followed by abc | \d+(?= dollars) matches "100" in "100 dollars" |
(?!abc) | Negative lookahead - NOT followed by abc | apple(?!pie) matches "apple" but not in "applepie" |
(?<=abc) | Lookbehind - preceded by abc | (?<=\$)\d+ matches "50" in "$50" |
(?<!abc) | Negative lookbehind - NOT preceded by abc | (?<!un)happy matches "happy" but not "unhappy" |
Replacement Tokens
| Token | Inserts | Example |
|---|---|---|
$1, $2... | Captured group 1, 2, etc. | Pattern (\w+)@(\w+) with replacement $2::$1 |
$& | Entire match | Replacement [$&] wraps the match in brackets |
Features
Snippet Palette
In Custom mode, click snippets to insert regex patterns into your rule. Toggle "Show Advanced" to reveal lookarounds, groups, and quantifiers.
Step-through Debugger
In the Test panel, enable "Step-through" to see how each rule transforms the text. Great for finding which rule is causing issues.
Undo / Redo
Made a mistake? Use Undo (Ctrl+Z) and Redo (Ctrl+Y) to restore rules.
Import / Export
Share your rule sets with friends or back them up as JSON files.
Tips
โข Rules apply in order from top to bottom
โข Use the Test panel to preview your rules
โข Yellow highlighting shows what changed
โข Use โโ buttons to reorder rules
โข Your rules save automatically to browser storage