Replacing first three words
Posted: Sat Feb 18, 2012 1:02 pm
Hi I want to replace first three "Next" words to "Previous" as I shown below, I tried some tools but I couldn't what regexes should I use to do this?
to this:
Code: Select all
<li style="margin-right: 20px;">
<a href="4.html" title="Next">
<img src="../thumbs/4.JPG" alt="Next" />
<h2>Next</h2>
<div class="clear"></div>
</a>
</li>
<li style="margin-left: 20px;">
<a href="6.html" title="Next">
<img src="../thumbs/6.JPG" alt="Next" />
<h2>Next</h2>to this:
Code: Select all
<li style="margin-right: 20px;">
<a href="4.html" title="Previous">
<img src="../thumbs/4.JPG" alt="Previous" />
<h2>Previous</h2>
<div class="clear"></div>
</a>
</li>
<li style="margin-left: 20px;">
<a href="6.html" title="Next">
<img src="../thumbs/6.JPG" alt="Next" />
<h2>Next</h2>