Part of my app has an area where users enter text into a textBox control. They will be entering both text AND numbers into the textBox. When the user pushes a button, the te
You can use a regular expression that matches the numbers, and use the Regex.Replace method. I'm not sure what you include in the term "numbers", but this will replace all non-negative integers, like for example 42 and 123456:
str = Regex.Replace(
str,
@"\d+",
m => (Double.Parse(m.Groups[0].Value) * 1.14).ToString()
);
If you need some other definition of "numbers", for example scientific notation, you need a more elaboarete regular expression, but the principle is the same.