HF RL Explorer

Task: Remove All Non-Numeric Characters from a String in PHP

Task: Remove All Non-Numeric Characters from a String in PHP: a task in Terminal-Lego-15k (Harbor dataset). Create a PHP script that removes all non-numeric characters from a string, keeping only digits (0-9). This is a common requirement for sanitizing phone numbers and other numeric data.

Part of PrimeIntellect/Terminal-Lego-15k.