HF RL Explorer

Remove Non-Alphanumeric Characters from String

Remove Non-Alphanumeric Characters from String: a task in Terminal-Lego-15k (Harbor dataset). You need to create a JavaScript solution that removes all non-alphanumeric characters from a string, including properly handling escape sequences such as \r , \n , \b , \f , and \t .

Part of PrimeIntellect/Terminal-Lego-15k.