add regex replace.