The standard String.Replace method is the primary choice for replacments
but it is case sensitive. The alternative choices are either
String.IndexOf or Regex.Replace. Both of these method can do
case insensitive replacment. Regex.Replace is the easiest.
Regex re = new Regex("<input>", RegexOptions.IgnoreCase);
str = re.Replace(str, "<replacement>");
The alternative approach is to use String.IndexOf to find all occurrences
and replace each one.
int index = str.IndexOf("<input>");
while (index >= 0)
{
str = str.Remove(index, "<input>".Length);
str = str.Insert(index, "<replacement>");
index = str.IndexOf("<input>", index + 1, StringComparison.CurrentCultureIgnoreCase);
};