retain strings matching certain criteria
2014-08-29++ retain strings matching certain criteria
retain strings containing a certain substring
retain items containing a certain substring
retain items matching a certain criteria
retain lines containing a certain substring
retain lines containing a certain criteria
keep items in a list that have or contain certain values
Here's the code