On the Internet, millions of documents are electronically linked via embedded hyperlinks. The hyperlinks, which function as network addresses for specific documents, can be selected by a user to “jump” electronically from a document on one computer to a document on another computer. One problem with conventional hyperlinks is that they occasionally become out dated and ineffective, as documents are deleted, for example. Accordingly, the inventors devised software that automatically locates and marks specific portions of a document and defines hyperlinks including at least a portion of the marked text. An exemplary implementation, tailored for legal citations, processes the portion of the marked text as a search term, and allows completion of hyperlinks without the necessity of including complete file addresses. This implementation also defines a portion of the hyperlinks based on the cost or time of executing the hyperlink, to reduce the cost or time of executing the hyperlink.