Regular Expression to replace the numbers in a file

Posted by Yongwei Xing on Stack Overflow See other posts from Stack Overflow or by Yongwei Xing
Published on 2010-03-31T06:22:42Z Indexed on 2010/03/31 6:33 UTC
Read the original article Hit count: 157

Filed under:
|

Hi all

There are a lot of numbers like 200 20.5 329.2...in a file. Now, I need replace every number A with A*0.8. Is there any simple method to replace original value with another based on original value?

Best Regards,

© Stack Overflow or respective owner

Related posts about c#

Related posts about regex