I know about Hebrewbooks.org for searching for sources in books, but the problem is you have to get to let's say every Masechta to look for a phrase. Is there a program (doesn't have to be free) that lets you search for Gemara, Zohars, Rishonim, Aharonim, Roseh Yeshivot, Pesukim etc. and gives you all the sources for them?
The Bar-Ilan Responsa project has an online version that allows free searches, displaying up to 150 words from each result. This is an extremely powerful program, as its textbase is "clean" and edited, as opposed to many other search programs (such as Hebrewbooks and Otzar HaChochma) which are mostly based on error-prone, OCR-derived text.
At <http://www.hebrewbooks.org> there is a search feature where you can type in the phrase and it at times will lead you to the thing you are searching for. It is the box on the left of title.