Go Back  DVD Talk Forum > General Discussions > Tech Talk
Reload this Page >

help with special instance of search & replace please.

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

help with special instance of search & replace please.

Old 01-24-13, 07:48 PM
  #1  
DVD Talk Special Edition
Thread Starter
 
danwiz's Avatar
 
Join Date: Dec 2000
Location: Fairbanks, Alaska
Posts: 1,849
help with special instance of search & replace please.

Okay, here is what I have. I have various uses of the word lightbox-1" href=", lightbox-2" href=", lightbox-3" href=" and so on. I want to replace the first part with it's original but after the href= I want to add "http://xxxyyy.com/index/.

I can't just search for href=" because there are too many things which I do NOT want to change. At this time I am just doing it the hard way and searching for lightbox-1" href=" and replacing those with lightbox-1 href="http://xxxyyy.com/index/ and then doing the same thing for lightbox-2 and for lightbox-3 and so on. Can I reduce the time I spend?

Thanks in advance.
danwiz is offline  
Old 01-24-13, 10:13 PM
  #2  
DVD Talk Hall of Fame
 
Join Date: Nov 1999
Location: Vermont
Posts: 9,771
Re: help with special instance of search & replace please.

Are you in a particular program? Or does it not matter?
stevevt is offline  
Old 01-24-13, 11:53 PM
  #3  
DVD Talk Special Edition
Thread Starter
 
danwiz's Avatar
 
Join Date: Dec 2000
Location: Fairbanks, Alaska
Posts: 1,849
Re: help with special instance of search & replace please.

I'm editing PHP pages. I can open them with MS-Word, WordPad or Notepad - those are the 3 options I have for text editing. Thanks for asking about that stevet.
danwiz is offline  
Old 01-25-13, 06:03 PM
  #4  
DVD Talk Limited Edition
 
Join Date: Feb 2000
Location: Sunny Hawaii
Posts: 6,622
Re: help with special instance of search & replace please.

WordPad and Notepad do not have pattern matching, but I think this will help with Word:

http://word.mvps.org/faqs/general/usingwildcards.htm
TheBang is offline  
Old 01-26-13, 03:03 AM
  #5  
DVD Talk Special Edition
Thread Starter
 
danwiz's Avatar
 
Join Date: Dec 2000
Location: Fairbanks, Alaska
Posts: 1,849
Re: help with special instance of search & replace please.

Hey Todd B. Thanks for that. I'm going to have to study it when I have more time than I do right now. It appears that it may be useful for me. Thank you very much.
danwiz is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive Advertising Cookie Policy Privacy Statement Terms of Service

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.