Need to search web folder for all pages that contain an IP Adress

Posted on 2007-10-12
Last Modified: 2009-05-13
Hello, I am in a bind.

All of my Virtual IP addresses are changing and I have about 15-20 sites that call other domains by IP Address in a web folder of about 100 sites.  

I need to search for any page that contains an IP Address.  

I know that some start w/ "207." so I searched for them and found them, but I want to find all IP Addresses.  I'm not sure on syntax or if it's possible (1-9^.1-999^.1-99^) <-- I just made that up as an example of what I'd like to search for.

Is there a way to do this with Dreamweaver or another program?  

Any help would be MUCH appreciated.  Thank you.
Question by:smoothcat11
    LVL 15

    Expert Comment

    Not a macromedia person but ultraedit has a very power file search capability.

    Just point it at a directory structure and it comes back with the results.

    Author Comment

    if I did install and run ultra edit.  Is there a way to check for IP Addresses?  If so how would I do it?  Thanks for your time.
    LVL 15

    Accepted Solution

    Assuming you can open this folder in explorer I would just use the search facility. [look at search features]

    Screen shot:

    Think of a find and replace function on steriods, that's the best I can describe it. So long as it can see this web folder you can run a search on the old string, review then run a find and replace with the new one.
    LVL 18

    Expert Comment

    Hi.  If you setup a new site in DW and point it to the root of all your sites with the hard coded IP addresses in, simply use the find utility (CTRL+F) and type in the first IP address you are aware of and then click find all.  This will then give you a list of every matched file.  As you said there are 20, I don't see any major issues with you searching for each one.  Once you have identified the specific strings, using the same tool you can then multiple search and replace and that will recursively go through every file and do the changes.  Hope this helps.
    LVL 18

    Expert Comment

    Oh, hadn't seen the mention of 100 or so sites.  

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: HTML5 Mobile App Development with PhoneGap

    PhoneGap can help you leverage your already existing HTML5, JavaScript, and CSS skills in order to create and deploy cross-platform mobile apps.This program comprehensively covers HTML5 mobile app development from top to bottom.

    It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
    Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
    Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    761 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

    11 Experts available now in Live!

    Get 1:1 Help Now