replacing
[start1]
AND
[end1]
inter text
[start2]
OR
[end2]
after text
