1.3 Update to add 'Normalize' option


The extension has been updated to include a new ‘Normalize’ option for all Regex commands.

What does it do?
The ‘Normalize’ option uses the NFD method to break down characters with accents or diacritical marks into their base forms (e.g., ñ becomes n + combining tilde).

This is particularly useful for filtering out spam in chats where spammers use accented or visually similar characters to bypass filters (e.g., ë instead of e).

By normalizing the input, the regular expressions catch all variations, improving the ability to detect and filter out spam.

Here’s an example of how it works with some common spam phrases:

Ch̍eap Viewers on 
B͟est Viewers on 
Ch͟eap viewers on 
B̟est viewers on

After running the replace command with /[\u0300-\u036f\̟͟]/g regex and normalization enabled, the result is:

Cheap Viewers on
Best Viewers on
Cheap viewers on
Best viewers on

Full example button to filter out spam from your chat messages can be found inside the premade deck.

This version also newly supports using all commands in non persistent buttons.

How To update:

  1. Download the updated .sef file.
  2. Install the extension in SAMMI. When prompted to replace the extension, click yes. When asked to replace the deck, click no, as there are no changes to the deck.
  3. You’re back in business!

Files

Input Validator 1.3.sef 37 kB
43 days ago

Get SAMMI Input Validator

Buy Now$2.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.