If you're on a unix/linux system, you can use an AWK script -----Original Message----- From: Peter Sienkiewicz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: [PHP] find and replace help.. VERY important
Hello ladies and gentlemen, I need a function that opens up an HTML file and looks for position:absolute;top:1038px;left:104px then changes the left: value to be 100 less then it currently is so it should then look like position:absolute;top:1038px;left:4px The problem is that the left: value changes from line to line This is a very important script, and I need it to search and replace thru 400 files. If anyone has an tips, please help. Thank You for your time. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]