All my domains hosted at dreamhost (linux/apache) are hacked, with redirect to different places when the pages are loaded. The hacker put a long string of java script or other code into .html or .php files, the string contains multiple special characters in multiple lines. Anybody know a easy unix or perl command to find and replace the string? I guess it has to be a regular expression or some sort to identify the beginning and ending tags of the string. I tried googling but haven't been able to find one that fits well. Thanks in advance!