I have three situations, where I need to remove numbers characters.
STRING200, after preg_replace I expect STRING
STRING 100 TEST, after preg_replace I expect STRING 100 TEST
STRING 400, after preg_replace I expect STRING 400
I have tested the following combinations using preg_replace in PHP
/^(?:[0-9]+\s)*/
/[0-9]*$/
/^[a-zA-Z]+[0-9]*$
But without success, does anyone have any suggestions?