try something like this
var q = from item in listItems where item.Contains("id") select item;
or a shorter version
var q = itemsList.Where((item) => item.Contains("id"));
This assumes that id is a string value. To give a proper example you should state the class of item in the list as well as the property you wish to check.