Skip to content
Advertisement

How to remove numbers from a string with RegEx

I have a string like this:

JavaScript

I would like to remove 23 so I’m left with PM or (with space truncated) just PM.

Any suggestions?

Needs to be in PHP

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement