below is the alternative to replace string ignoring character case
String thisString = "hello world";
String replaceString = "World";
//thisString.Replace("World", "csharp");
//below is the alternative to replace string ignoring character case
int start = StringUtils.indexOfIgnoreCase(thisString,replaceString);
String searchKey = thisString.substring(start, start+replaceString.length());
thisString= thisString.replaceAll(searchKey ,replaceString );
System.out.println(thisString);
//prints hello World