How do you grep the start/beginning of a document.

I'd like to paste some text at the beginning of a bunch of files and need to do a find (start of document) and replace with my text (ex. "<!-- Hello this is my start text -->").

Any suggestions.