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: Saturday, March 22, 2025 at 8:31:20 AM
Tag arguments
[]
Code
class extractAscii {
encode(input) {
return input.replaceAll(/[^\x00-\x7f]/gi, "");
}
}