for Line in SData :
for Cnt1 in range(len(Line)) :
if '|' in SData[Cnt1] :
Pipe1 = Cnt1
break
for Cnt2 in range(len(Line[Cnt1:-1]))
if '|' in Line[Cnt2] :
Pipe2 = Cnt2
. break
.
.
.
for Cnt5 in range(len(Line[Cnt4:-1]))
if '|' in Line[Cnt5] :
Pipe5 = Cnt5
break
for Line in SData :
output_stream.write(Line[Cnt1+1:Cnt1+9])
output_stream.write(Line[Cnt2+1:Cnt3]+'whatever else that is'+'\n'

i wasn't able to test this, but the general idea should be obtainable.

for Line in SData :
for Cnt1 in range(len(Line)) :
if '|' in SData[Cnt1] :
Pipe1 = Cnt1
break
for Cnt2 in range(len(Line[Cnt1:-1]))
if '|' in Line[Cnt2] :
Pipe2 = Cnt2
. break
.
.
.
for Cnt5 in range(len(Line[Cnt4:-1]))
if '|' in Line[Cnt5] :
Pipe5 = Cnt5
break
for Line in SData :
output_stream.write(Line[Cnt1+1:Cnt1+9])
output_stream.write(Line[Cnt2+1:Cnt3]+'whatever else that is'+'\n'