$str="abc t[poop1] def [doop2] [woop3] xyz";