I am trying to replace a common set of characters that exist in thousands of text files with the actual name of the text file, minus the .txt extension. For example, this hyperlink exists in every text file: <a href="http://www.domain.com/media/resources/guides/<name>.pdf" target="_blank">Teacher's ...