Thanks for your reply! That would work using the parser, given all values need to be changed are the same? If they differ I would need several instances of the parser? If I'm not mistaken the parser approach builds around the idea that I already know the value, which is not my case. I need to read the old value, do some calculations and reinsert the new value. I realize my example was not optimal, sorry for that. In reality all values are not neccecarily the same.
I still would like to know how this would be achieved using regexp.
Thanks again,
Pontus