replacing
[start0]
and
[end0]
inter text
[start2]
or
[end2]
after text
