chittr
← @regularExpression
Avatar
Patron
A certified moneyspender. Thanks for supporting the site!
@regularExpression[RE]

/^I wanted to talk a little bit about my autoquirk link removal trick, since I've seen some other ways to do it and I want to talk about the differences between them! For the sake of discussion, I'll be assuming that the "tags" for removing a link are {r} before and after the link. I've seen people put what they want to remove inside curly brackets, but it's essentially the same thing. Some trolls use the following regex for link removal: {r}.*{r} This works fine in most cases, but requires everything you want removed to be on one line. If you have a suffix in your quirk like me, that means you need to put all of the links and tags you want to remove all on the same line at the end of your message, which I find to be clunky. This is why I use the following regex instead: {r}[\S\s]*{r} By replacing . with [\S\s], the regex instead will remove any whitespace or non-whitespace characters from between the {r} tags, which means newline characters will be removed as well! I can simply put a single {r} at the end of my message where I want the suffix to be, then post my link (or links) after a newline! I find this to make writing posts to be much easier, and it makes everything look a lot cleaner when the unquirk button is clicked too. Hope this was a good explanation! Let me know if you have any questions. ᐟ⁠∧⁠.⁠∧⁠ᐟ$/

Kult: +35
Kull: +15
Total: 50
Ratio: 2.33
Avatar
Patron
A certified moneyspender. Thanks for supporting the site!
@regularExpression[RE]

/^Once again, if you're using this trick, make sure the Regex Replace is at the very top of your quirk list! Otherwise, your other quirks might mess with the text before it activates, and it could potentially break.$/

Kult: +15
Total: 15

Thank2 agaiin for thii2

IJ
Staff
Part of the Chittr team
Yaoi Official
This user officially supports Yaoi.
Yuri Official
This user officially supports Yuri.
@imJunior[IJ]

Interesting.