For searching text , you can use Microsoft Index Server .Using it in code will return the pages in site where a particular word exists . But i m not sure if it can return line number . But after getting list of documents in search , perhaps a function can be writeen to find line numbers in those pages Divya Rathi