Is this possible in regex.
-
I have a -code part in my xml document and a -home part.
let’s say, the -home, is an address list.
what i want to do is.
Find
finds line -home , node=“exact same” and finds in -code.
replace
replace all in -code node=“exact same” to word id=“word” of the same line.
And the home line may not be changed.<code node=“0>10|0|0|0|2|0” referencePoin …
<code node=“0>10|0|0|0|3|0” referencePoin …
<code node=“0>10|0|0|0|4|0” referencePoin …
<different code node=“0>8|0” filename="okydoky …<home id=“exhaustP” node=“0>8” />
<home id="exhaust " node=“0>8|0” />
<home id=“stab_3_1” node=“0>10|0|0|0|2|0” />
<home id=“stab_2_0” node=“0>10|0|0|0|3” />
<home id=“stab_2_1” node=“0>10|0|0|0|3|0” />
<home id=“stab_1_0” node=“0>10|0|0|0|4” />
<home id=“stab_1_1” node=“0>10|0|0|0|4|0” />kind regards
Dominique