Multiply with find and replace

Posted by cdated on Stack Overflow See other posts from Stack Overflow or by cdated
Published on 2010-04-23T18:31:48Z Indexed on 2010/04/23 18:33 UTC
Read the original article Hit count: 179

Filed under:
|
|

Can regular expressions be used to perform arithmetic? Such as find all numbers in a file and multiply them by a scalar value.

© Stack Overflow or respective owner

Related posts about python

Related posts about sed