In the below example "]Engine Oil: is the defined string.
Input
[TABLE="width: 710"]
<tbody>[TR]
[TD="class: xl63, width: 710"]Quantities: ]Engine Oil:10W-40 oder 10W-50 SAE]Engine Oil:SH API]Engine Oil:MA JASO]Engine Oil with Filter:4,0 Litre]Brake fluid:DOT 4 specification]Transmission Oil:75W/90 SAE]Cooling system:2,8 Litre]Fork Oil:4W SAE]Fork oil fill left / right:710/710 cm³]Fork - left/right:103/103 mm]Spring travel in front:190 mm]Setting of the gas-closing puller, free travel forward against closing spring:194 mm]
Desired output[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 710"]
<tbody>[TR]
[TD="class: xl63, width: 710"]Quantities: ]1Engine Oil:10W-40 oder 10W-50 SAE]2Engine Oil:SH API]3Engine Oil:MA JASO]Engine Oil with Filter:4,0 Litre]Brake fluid:DOT 4 specification]Transmission Oil:75W/90 SAE]Cooling system:2,8 Litre]Fork Oil:4W SAE]Fork oil fill left / right:710/710 cm³]Fork - left/right:103/103 mm]Spring travel in front:190 mm]Setting of the gas-closing puller, free travel forward against closing spring:194 mm
[/TD]
[/TR]
</tbody>[/TABLE]
Even if a formula only changed up-to 3 occurrences that would be sufficient as a 4th occurrence would be left alone and thus distinct from the first 3
Input
[TABLE="width: 710"]
<tbody>[TR]
[TD="class: xl63, width: 710"]Quantities: ]Engine Oil:10W-40 oder 10W-50 SAE]Engine Oil:SH API]Engine Oil:MA JASO]Engine Oil with Filter:4,0 Litre]Brake fluid:DOT 4 specification]Transmission Oil:75W/90 SAE]Cooling system:2,8 Litre]Fork Oil:4W SAE]Fork oil fill left / right:710/710 cm³]Fork - left/right:103/103 mm]Spring travel in front:190 mm]Setting of the gas-closing puller, free travel forward against closing spring:194 mm]
Desired output[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 710"]
<tbody>[TR]
[TD="class: xl63, width: 710"]Quantities: ]1Engine Oil:10W-40 oder 10W-50 SAE]2Engine Oil:SH API]3Engine Oil:MA JASO]Engine Oil with Filter:4,0 Litre]Brake fluid:DOT 4 specification]Transmission Oil:75W/90 SAE]Cooling system:2,8 Litre]Fork Oil:4W SAE]Fork oil fill left / right:710/710 cm³]Fork - left/right:103/103 mm]Spring travel in front:190 mm]Setting of the gas-closing puller, free travel forward against closing spring:194 mm
[/TD]
[/TR]
</tbody>[/TABLE]
Even if a formula only changed up-to 3 occurrences that would be sufficient as a 4th occurrence would be left alone and thus distinct from the first 3