I have the text
<column caption='TZ_Shift' datatype='real' name='[total_millis Parameter]'
param-domain-type='any' role='measure' type='quantitative'
value='-0.16666666699999999'>
which can also be like
<column caption='TZ_Shift' value='-0.16666666699999999'>
which gets repeated a several times and I want to replace the value part of it .
so I want the result to be something like this
<column caption='TZ_Shift' datatype='real' name='[total_millis Parameter]'
param-domain-type='any' role='measure' type='quantitative'
value='-0.73783'>
and
<column caption='TZ_Shift' value='-0.73783'>
respectively where 0.73783 is new val
I referred this question c# regex to find and replace reusing part of the matched text
But I am unable to understand the regex on the solution
can somebody help me out with regex .
Xml parsing should have been the best solution but I am unable to use xml parsing(for some reason).
value="-0.73783"like in your second example?