Ricevo in una comunicazione seriale una lunga stringa di questo tipo:

<instruciontid="29" <![DATA[1 36 0 120]]></entry>
<instruciontid="30" <![DATA[4 78 1 0]]></entry>
<instruciontid="31" <![DATA[6 83 1 2]]></entry>
<instruciontid="32" <![DATA[7 83 1 2]]></entry>
.....eccetera ...........

(Nota: la stringa è UNICA, non una serie di stringhe, i ritorni a capo fanno parte della stessa stringa!)

Ho bisogno di sostituire i valori all'interno del campo data, ad esempio cosi':

<instruciontid="29" <![DATA[11 6 33 0]]></entry>
<instruciontid="30" <![DATA[7 8 0 122]]></entry>
<instruciontid="31" <![DATA[68 8 10 223]]></entry>
<instruciontid="32" <![DATA[71 870 143 678]]></entry>

ovviamente non posso usare la funzione REPLACE perche' i valori numerici dentro le parentesi
quadre sono sempre diversi come anche il numero di caratteri fra "[" e "]".

Avete qualche idea??? Grazie!