Is it possible to replace all numbers in a string with a mathematical expression using each number found in the string?
In other words, I have this:
$adjust="1.5";
the string:
$line="The first board's width=\"450\", the second board's width="350", the third board's width=\"550\".";
What I need...