Hi all, I have a script code which I need to add before the </body> tag of every page. I own around 150 pages. Its very difficult to manually add the code myself to the pages. Is there any software that will automate the process giving me the option of where to add a multiline text before a certain word. Editplus and Textpad may not be useful for multiline replacement or addition.
if you use a WYSIWYG editor they usually have a find & replace tool. just use this to replace "</body>" with "<script> your script </script> </body>" on all the pages at once
try agc grep or powergrep for big 'find and replace' projects AGC Grep might seem a bit more easy to use, comes with a better GUI. http://www.powergrep.com/ Windows grep Software to Search (and Replace) through Files and Folders on Your PC and Network The Most Powerful GREP Tool for Windows PowerGREP is a powerful Windows grep tool. Quickly search through large numbers of files on your PC or network, including text and binary files, compressed archives, MS Word documents, Excel spreadsheets and PDF files, etc. Find the information you want with powerful text patterns (regular expressions) specifying the form of what you want, instead of literal text. Search and replace with one or many regular expressions to comprehensively maintain web sites, source code, reports, etc. Extract statistics and knowledge from logs files and large data sets.