Add sed-text-replacement.md

This commit is contained in:
BBaoVanC 2020-10-16 19:23:44 -05:00
parent a73474651d
commit 0b30bb8cd8
No known key found for this signature in database
GPG Key ID: 6D74C8B0E7D791C2

10
sed-text-replacement.md Normal file
View 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