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, December 21, 2024 at 11:40:19 AM
Tag arguments
[]
Code
class extractAscii {
encode(input) {
return input.replaceAll(/[^\x00-\x7f]/gi, "");
}
}