deselect objects with certain name

 From:  Andrei Samardac
5950.1 
Michael there is situation:
A lot of objects are selected, I want to deselect only the objects with certain name. Is any way to make this? I can click on it in browser, but
1. I have a lot of objects here
2. I have no idea what is the name of this object
so this method is not very good in this situation.
I need it to change objects that was hidden but I show them to deselect some objects and than hide them again.

1. Show hidden objects (thay stay selected)
2. Deselect some objects with the same name
3. Hide objects again

EDITED: 11 Jun 2013 by ANDREI SAMARDAC