I have a string like this:
" 23 PM"
I would like to remove 23 so I'm left with PM or (with space truncated) just PM.
23
PM
Any suggestions?
Needs to be in PHP
echo trim(str_replace(range(0,9),'',' 23 PM'));
2.1m questions
2.1m answers
60 comments
57.0k users