Transform text with powerful rules

Mode
Advanced Modes
Rules
๐Ÿ“‹
No rules yet
Output
Rules will appear here
Live Preview

Input

Output

Unchanged Changed
Step-through
Rule-by-Rule Breakdown

Modes

๐Ÿ”„ Swap

Replace one word or phrase with another.

"cat" โ†’ "dog"
โ†“
I love my cat โ†’ I love my dog

๐Ÿ”ค Letters

Swap individual letters throughout the message. Perfect for creating uwu-speak, accents, or custom letter substitutions. Add multiple letter pairs.

r โ†’ w, l โ†’ w
โ†“
Hello friend โ†’ Hewwo fwiend

โ—€๏ธ Prefix

Add text to the beginning of every message.

prefix: "๐ŸŽฎ "
โ†“
Playing games โ†’ ๐ŸŽฎ Playing games

โ–ถ๏ธ Suffix

Add text to the end of every message.

suffix: " โœจ"
โ†“
Just finished โ†’ Just finished โœจ

๐ŸŽ Wrap

Wrap every word with characters on both sides.

wrap: "~" and "~"
โ†“
Hello world โ†’ ~Hello~ ~world~

๐Ÿšซ Censor

Replace a word with asterisks or custom characters.

censor: "spoiler"
โ†“
No spoiler here โ†’ No ******* here

๐Ÿ˜ณ Stutter

Make words starting with specific letters stutter. Choose which letters trigger the stutter effect.

stutter: "w", "b"
โ†“
What about this โ†’ W-what a-about this

๐Ÿ”ข Repeat

Match patterns that repeat a specific number of times. Find "haha" (ha repeated 2x), or match exactly 4 digits like "2024".

pattern: "ha", exactly 3 times
โ†“
hahaha โ†’ matched! | haha โ†’ not matched

๐ŸŽฏ CharSet

Match any character from a set. Perfect for matching vowels, digits, or custom character groups.

characters: "aeiou" (any vowel)
โ†“
hello โ†’ h*ll* (replace vowels with *)

๐Ÿ“ฆ Capture

Capture parts of text to reuse in the replacement. Great for reformatting or wrapping specific patterns.

capture word after "@", replace with "[@$1]"
โ†“
Hey @john! โ†’ Hey [@john]!

๐Ÿ‘€ Lookaround

Match text only if it's followed by (or not followed by) something else. The condition isn't included in the match.

"apple" NOT followed by "pie"
โ†“
apple juice โ†’ ๐ŸŽ juice | applepie โ†’ unchanged

๐Ÿ”  Case

Change the case of text: UPPERCASE, lowercase, Title Case, Sentence case, aLtErNaTiNg, or SpOnGeBoB style.

alternating case
โ†“
Hello World โ†’ hElLo WoRlD

๐Ÿ”™ Reverse

Reverse text - the entire message, just the word order, or each word's letters individually.

reverse each word
โ†“
Hello World โ†’ olleH dlroW

#๏ธโƒฃ Hashtag

Convert words to #hashtags, @mentions, or add any custom prefix to words.

hashtag: "coding"
โ†“
I love coding โ†’ I love #coding

๐Ÿ“ Boundary

Match text at specific positions: start/end of message, start/end of words, or not at word boundaries.

at start of message, add ">> "
โ†“
Hello โ†’ >> Hello

๐Ÿ”ฃ Symbol

Match specific character types: digits, whitespace, word characters, symbols, tabs, or newlines.

replace all digits with X
โ†“
Call 555-1234 โ†’ Call XXX-XXXX

โœ‚๏ธ Split/Join

Split text on one character and join with another. Perfect for replacing spaces with underscores, etc.

split on space, join with "_"
โ†“
hello world โ†’ hello_world

๐Ÿ“ Markdown

Wrap text in Discord markdown: **bold**, *italic*, `code`, ~~strike~~, ||spoiler||, and more.

bold: "important"
โ†“
This is important โ†’ This is **important**

๐ŸŽญ Zalgo

Add creepy glitch effects with combining characters. Choose light, medium, or heavy intensity.

zalgo: medium
โ†“
Hello โ†’ Hฬทฬขeฬตอœlฬถฬกlฬทอ oฬธฬง

โš™๏ธ 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

PatternMatchesExample
.Any single characterc.t matches "cat", "cut", "c@t"
\wWord character (letter, digit, underscore)\w+ matches "hello", "test123"
\WNon-word character (symbols, punctuation)\W matches "!", "@", " "
\dAny digit (0-9)\d+ matches "123", "42"
\DNon-digit\D+ matches "abc", "!@#"
\sWhitespace (space, tab, newline)\s+ matches spaces between words
\SNon-whitespace\S+ matches "hello", "123"
\tTab characterMatches tab characters only
\nNewline / line breakMatches line breaks

Anchors & Boundaries

PatternMatchesExample
^Start of text^Hello matches "Hello" only at start
$End of textbye$ matches "bye" only at end
\bWord boundary\bcat\b matches "cat" not "category"
\BNot a word boundary\Bcat matches "cat" in "bobcat"

Quantifiers

PatternMatchesExample
+1 or morea+ matches "a", "aaa"
*0 or moreab*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

PatternMatchesExample
(abc)Capture group - use $1, $2 in replacement(ha)+ matches "ha", "haha", "hahaha"
(?:abc)Non-capturing groupGroups without creating a capture
a|bEither a or bcat|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.

PatternMatchesExample
(?=abc)Lookahead - followed by abc\d+(?= dollars) matches "100" in "100 dollars"
(?!abc)Negative lookahead - NOT followed by abcapple(?!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

TokenInsertsExample
$1, $2...Captured group 1, 2, etc.Pattern (\w+)@(\w+) with replacement $2::$1
$&Entire matchReplacement [$&] 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

Made with โ™ฅ by Lennox

notshawn0680 on Discord