$str="abc t[poop1] def [doop2] [woop3] xyz"; [download]
In reply to Advanced replace function by sans-clue