thnx iori.
on testing your code iori sir, this was the result:
%s = sumthin here*sumthin else *another thing*blah blabber *another occurence
*another thing*blah blabber *another,
blabber *anotherthe output i was kinda lookin for was sumthin like this:
sumthin here*sumthin
else *another thing*blah
blabber *anothe occurence
just the parts in color.
im sure you could help me out