Regx to Remove a String

I would like to remove a string from a string. So I have “CatDogPig,” and I want to say remove “Dog,” so it returns “CatPig”. Can you help me with that?

I’ve done this with before_string and after_string. You can put the results together. More information is here: MSPintegrations