Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I search for files which have 127.0.0.1 in their content... It shows files that DO NOT have 127.0.0.1 in their content. What is the problem here?

share|improve this question
    
Are you using Windows XP ? And in which type of files you want to search for that string? –  Silviu Jun 5 '12 at 14:59
1  
Assuming from the last question (superuser.com/questions/432908) he asked less than an hour ago, he is using Windows 7. –  SgtOJ Jun 5 '12 at 15:06

1 Answer 1

Within the search box type: content: 127.0.0.1.

Just tested it out on my Windows 7 system. It worked perfectly. I also tested just typing the IP address in. It worked too.


Since you are looking for 127.0.0.1 within a document(s) that contain a127.0.0.1, you could try searching for ~=127.0.0.1 per the solution of this question.

share|improve this answer
    
I think you just tested it for search IPs like 127.0.0.1 but not a127.0.0.1. does it works for second IP types? –  hamed Jun 5 '12 at 15:14
    
No. It's not going to work. It how Win7 search is now designed. It only works if you know exactly what you are looking for. –  SgtOJ Jun 5 '12 at 15:17
    
As Windows 7 search uses regular expression, I think there must be a regular expression to do that. –  hamed Jun 5 '12 at 15:22
    
Check this answer out. It will give my info how it works. In fact, this question might need to be closed all together since the two are very similar. –  SgtOJ Jun 5 '12 at 15:23
    
yeah, the answer in the question is right. It works with ~=127.0.0.1. so , update your answer. –  hamed Jun 5 '12 at 15:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.