Add sed-text-replacement.md
This commit is contained in:
parent
a73474651d
commit
0b30bb8cd8
10
sed-text-replacement.md
Normal file
10
sed-text-replacement.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# How to do text replacement using sed formatting
|
||||||
|
|
||||||
|
[Example Video](https://media.bbaovanc.com/discord-tricks/discord-sed-text-replacement.mov)
|
||||||
|
|
||||||
|
If you send a message in sed substitution formatting (e.g. `s/old text/new text`), Discord will substitute text on the message you sent last.
|
||||||
|
|
||||||
|
Please keep in mind:
|
||||||
|
|
||||||
|
* Regex is not supported
|
||||||
|
* Global substitution (/g) is not supported
|
Reference in New Issue
Block a user