Stripping tags before replacing