add specified tags, brackets, or whatevs to all matching substring instances within a string