sourceVariable = "Jack and Jill went to Jack's place in the city";
searchString = "Jack";
replacementString = "Bill"
resultVariable = sourceVariable.ReplaceAll(searchString,replacementString);
//returns "Bill and Jill went to Bill's place in the city"
input.Address = "Suite 123, 4523 Yonge Street, Toronto";
input.Address = input.Address.replaceAll("23","9945");
//returns "Suite 19945, 459945 Yonge Street, Toronto"
sourceString = "ABCDEFGH";
answerString = sourceString.ReplaceAll("BCD", "");
//returns "AEFGH"