Solved

How to replace large amounts of text

Posted on 2011-02-20
4
180 Views
Last Modified: 2012-05-11
My client changes her navigation every couple of weeks. I've tried using Notepad++ to replace large amounts of text, but it does not pick up all of the selected text. Textpad does the same.  

Here is the HTML navigation:

 
<!-- InstanceBeginEditable name="things" -->
<ul> 
  <li><a href="index.html" target="_self">Home</a></li> 
  <li><a href="mission.html">About Us</a> 
    <ul>
      <li><a href="mission.html" target="_self">Mission</a></li>       
	  <li><a href="vision.html" target="_self">Vision</a></li> 	  
      <li><a href="bio.html" target="_self">Ann Gibson, Intrepid Coach </a></li> 
	  <li><a href="cv.html" target="_self">Education &amp; Credentials</a></li> 
      <li><a href="how.html" target="_self">Ann's Approach</a></li> 
	  <li><a href="ourlogo.html" target="_self">Our Logo</a></li>
	  <li><a href="faqs.html" target="_self">FAQ's</a></li>	  
	  <li><a href="testimonials.html" target="_self">Testimonials</a></li>
	  <li><a href="tree.html" target="_self">The Giving Tree</a></li>
    </ul></li>
	<li><a href="shapeshifter.html"  target="_self">Free Stuff</a>
		<ul><li><a href="optin.html"  target="_self">Adventure Wellness eZine</a></li>
			<li><a href="/nook">The Nook (BLOG)</a></li>
			<li><a href="shapeshifter.html"  target="_self">Shape Shift Tele-series</a></li>
            <li><a href="thevision.html"  target="_self">Visionary Nutrition Tele-series</a></li>
		</ul></li>
	<li><a href="membership.html">Membership</a></li> 
	<li><a href="programs.html">Programs</a> 
		<ul><li><a href="gettingStarted.html" target="_self">Getting Started</a></li> 		 
			<li><a href="programs.html" target="self">All Programs</a></li>
			<li><a href="privateCoaching.html" target="_self">Private Coaching</a></li> 		 
			<li><a href="comingsoon.html" target="_self">Group Programs</a></li>
			<li><a href="membership.html">Membership Program</a></li>
			<li><a href="archive-calls.html"  target="_self">Media Library</a></li>
			<li><a href="payitforward.html" target="_self">"Pay it Forward" Trips</a></li>
			<li><a href="retreats.html"  target="_self">Retreats</a></li>
			<li><a href="events.html"  target="_self">Events</a></li>
			<li><a href="distance.html" target="_self">Distance Clients</a></li>
			<li><a href="specialOffers.html" target="_self">Special Offers &amp; Discounts</a></li> 	  		
			<li><a href="testimonials.html" target="_self">Testimonials</a></li>
		</ul></li>   
   <li><a href="/nook">The Nook (BLOG)</a></li> 
   <li><a href="marketPlace.html" target="_self">Marketplace</a>		
		<ul><li><a href="archive-calls.html"  target="_self">mp3 Recordings of Past Classes</a></li>                    
			<li><a href="comingsoon.html"  target="_self">Products</a></li>
			<li><a href="comingsoon.html"  target="_self">Partner Services</a></li>
		</ul></li>   		
   <li class="contact"><a href="contact.html" target="_self">Contact Us</a></li>
</ul>
<!-- InstanceEndEditable name="things" -->

Open in new window


The replacement HTML navigation would be very similar - a few pages might no longer be inlcuded, but some others might take their place. I need to find an efficient way to replace this entire section of text with a new section of text. This type of support is costing me money because currently I'm opening every file & making the change manually. There's got to be a better way.

Any help would be appreciated.

0
Comment
Question by:LezlyPrime
4 Comments
 
LVL 7

Expert Comment

by:MrNed
ID: 34939670
Might be worthwhile using a database to store the pages and build the navigation dynamically.
0
 
LVL 48

Assisted Solution

by:dbrunton
dbrunton earned 62 total points
ID: 34939680
Notetab Pro http://www.notetab.com/

Assuming the section is the same in each document you can use Notetab to do the job for you.

Open up all the documents concerned and hilite the text you want to replace.  Choose the Replace function and make sure the All documents feature is selected.  Paste the replacement text into the box and click on OK.

Shareware so you can try before you buy.
0
 
LVL 14

Accepted Solution

by:
VBClassicGuy earned 63 total points
ID: 34947100
UltraEdit. Can handle any size file, and do what you want. Google it, you'll like it.
0
 

Author Comment

by:LezlyPrime
ID: 34956756
Thank you. I have downloaded both NoteTab & UltraEdit & have been using both today. Both work better than Notepad++. I haven't decided which I will purchase at the end of the trial, but thanks to both dbrunton & VBClassicGuy!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Learn more about the importance of email disclaimers with our top 10 email disclaimer DOs and DON’Ts.
If you want to move up through the ranks in your technology career, talent and hard work are the bare necessities. But they aren’t enough to make you stand out. Expanding your skills, actively promoting your accomplishments and using promotion st…
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now