I have a scalar that is in the form of mixed numbers, characters, and symbols. I want to process this scalar so that I end up with only the number part.
Here's an example of what I want to happen.
$before = '12-3 abc 90 def'
$after = '12390'
Any hints on how to do this?