Insert code into multiple files

Status
Not open for further replies.

chessonly

Posts: 40   +0
I am working on a website. There are several html/php files. Now I have to insert and replace a line of code at a particular place into all of these files . Is there a way to do so ?
I looked into a couple of applications that allowed find and replace in multiple files, but these did not allow inserting multiple lines

I want this -
<a href="requests" title="Blank">Requests</a>
</li>
</ul>

to become -
<a href="requests.php" title="r">Requests</a>
</li>
</ul>
<li>
<a href="contact.php" title="c">Contact me</a>
</li>

Thanks
 
Status
Not open for further replies.
Back