How to remove numbers from a string with RegEx

echo trim(str_replace(range(0,9),'',' 23 PM'));

Leave a Comment