Go Back  FlyerTalk Forums > Travel&Dining > Travel Technology
Reload this Page >

Need a program that will let me do bulk changes in html code on web pages

Community
Wiki Posts
Search

Need a program that will let me do bulk changes in html code on web pages

Thread Tools
 
Search this Thread
 
Old Aug 26, 2014 | 5:04 pm
  #1  
Original Poster
In Memoriam
10 Countries Visited20 Countries Visited30 Countries Visited20 Years on Site
 
Join Date: Jun 2000
Programs: Honors Diamond, Hertz Presidents Circle, National Exec Elite
Posts: 36,111
Need a program that will let me do bulk changes in html code on web pages

Without going into the gory details, I need a program that will let me load half a dozen html files and bulk change (bulk search-and-replace) links that are now no longer correct.

Some of these pages go back 15 years and I was too stupid then to have used relative links....

I tried loading into Word and WordPerfect, but they load looking like webpages and not has html.

I assume I can use Notepad, but if there is something simpler/better, would love to be pointed at it.

Freeware please
cblaisd is offline  
Old Aug 26, 2014 | 5:10 pm
  #2  
FlyerTalk Evangelist
Conversation Starter
All eyes on you!
20 Years on Site
 
Join Date: Nov 2002
Location: ORD
Posts: 14,771
Sublime Text 3 or TextPad should be able to do it. Both are free to download.

In Linux, I'd figure out how to use sed or awk.
gfunkdave is offline  
Old Aug 26, 2014 | 8:11 pm
  #3  
FlyerTalk Evangelist
30 Countries Visited
1M
All eyes on you!
15 Years on Site
 
Join Date: Apr 2009
Location: Bye Delta
Programs: AA EXP, UA Silver, HH Diamond, IHG Plat, Hyatt Plat, Marriott Titanium, Nat'l EE, Avis PC, Hertz PC
Posts: 16,635
I like Notepad++
javabytes is online now  
Old Aug 27, 2014 | 7:55 am
  #4  
10 Countries Visited
20 Countries Visited
30 Countries Visited
20 Years on Site
 
Join Date: Jan 2003
Posts: 3,893
Originally Posted by javabytes
I like Notepad++
^ Notepad++ is awesome. It should have been the Notepad that comes with Windows!

Here is a link on how to use Notepad++ for bulk search and replace multiple files:

http://cybernetnews.com/find-replace-multiple-files/
Need is offline  
Old Aug 27, 2014 | 2:52 pm
  #5  
30 Countries Visited
All eyes on you!
15 Years on Site
 
Join Date: Dec 2009
Location: RDU
Programs: DL DM+(segs)/MM, UA Ag, Hilton DM, Marriott Ti (life Pt), TSA Opt-out Platinum
Posts: 3,366
Programmers Notepad 2 is also a good option. Haven't used Notebook++, but it sounds similar.
HDQDD is offline  
Old Aug 27, 2014 | 7:46 pm
  #6  
 
Join Date: Oct 2004
Location: RDU
Programs: HHonors Gold
Posts: 103
Originally Posted by Need
^ Notepad++ is awesome.
^ Here is another +1 for Notepad++. If you need to compare your before and after files then take a look at WinMerge, it is freeware too.
RDUpax is offline  
Old Aug 28, 2014 | 8:12 am
  #7  
10 Countries Visited
20 Countries Visited
30 Countries Visited
20 Years on Site
 
Join Date: Jan 2003
Posts: 3,893
Originally Posted by RDUpax
^ Here is another +1 for Notepad++. If you need to compare your before and after files then take a look at WinMerge, it is freeware too.
There is a "compare" plugin for Notepad++ too.
Need is offline  
Old Aug 31, 2014 | 11:17 pm
  #8  
 
Join Date: Aug 2014
Location: USA USA USA
Programs: KF, SPG, UR,...
Posts: 7
This is my favorite regex cheat sheet for Notepad++. It's pretty neutral but leaning more towards perl syntax

http://www.cheatography.com/davechil...r-expressions/

...but you probably are already a master at regex
KardoPaska is offline  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.