extractAscii

This tag gathers all ascii characters and removes the rest.

Created by: hackvertor
Installed 1 times

Category: Convert

Created on: Thursday, December 19, 2024 at 2:45:24 PM

Updated on: Wednesday, January 15, 2025 at 3:08:06 PM

This is a built in tag
Tag arguments
[]
Code
class extractAscii {
  encode(input) {
    return input.replaceAll(/[^\x00-\x7f]/gi, "");
  }
}