We help IT Professionals succeed at work.

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

420 Views
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.
Comment
Watch Question

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

Commented:
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.
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Mark GilbertSenior Performance Engineer

Commented:
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.
Mark GilbertSenior Performance Engineer

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

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.