Diffuse interstellar bands (DIBs) are usually observed in spectra of hot stars, where interstellar lines are rarely blended with stellar ones. The need for hot stars is a strong limitation in the number of sightlines we can observe and their distribution in the Galaxy, as hot stars are rare and concentrated in the Galactic plane. We are introducing a new method, where interstellar lines can be observed in spectra of cool stars in large spectroscopic surveys. The method is completely automated and does not require prior knowledge of the stellar parameters. The main step is a construction of the stellar spectrum, which is done by finding other observed spectra that lack interstellar features and are otherwise very similar to the spectrum in q...