HF RL Explorer

Task: Strip Non-Alphanumeric Characters from String in Python

Task: Strip Non-Alphanumeric Characters from String in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that removes all non-alphanumeric characters from a string, keeping only letters (a-z, A-Z) and numbers (0-9).

The task

Create a Python script that removes all non-alphanumeric characters from a string, keeping only letters (a-z, A-Z) and numbers (0-9).

Part of PrimeIntellect/Terminal-Lego-15k.