How can i List objects by name but also in small text or big text or any kind ?

static void FixPlaneNames(string planeName)
{
if (string.IsNullOrEmpty(planeName))
{
planeName = “Plane”;
}
List planes = (from g in UnityEngine.Object.FindObjectsOfType() where g.name.Contains(planeName) select g).ToList();
}

But this will not get for example objects that the name is plaNe or plane or PLANE or plane or pLaNe

How can i make that it will get all the cases plane is written ?

Try converting the text to lowercase before comparing it:

where g.name.ToLower().Contains(planeName.ToLower())