PDA

View Full Version : How do I add a script to all files at once?



JESSEJJ89
29 Apr 2011, 09:07 PM
I'm using DreamWeaver 8, and I need to add a Javascript to the header of all my HTML files (300+) ... Can Dreamweaver accomplish this for me? Or are there any other text editors that can?

MartinRinehart
01 May 2011, 12:43 PM
Are all the files in one folder (or in subfolders of one folder)? If so, this is a simple job for GREP or any of the numerous GREP-like utilities. The bad news is that you'll need to learn about "regular expressions" to use GREP or its cousins. Ask Google.