So i have this txt file https://dl.dropbox.com/u/17838/testme.txt
as you can see it's 3 diffrent ip addresses. In Internet explorer in looks like this:
x.x.x.x:x
x.x.x.x:x
x.x.x.x:x
If you'll download and open it in notepad you'll see something like this:
x.x.x.x:xx.x.x.x:xx.x.x.x:x
Now, i can change the above in notepad to:
x.x.x.x:x
x.x.x.x:x
x.x.x.x:x
and save the file and it would look the same on internet explorer.
If i'll create a new txt file and write in it x.x.x.x:xx.x.x.x:xx.x.x.x:x
it will look like this on Internet explorer: x.x.x.x:xx.x.x.x:xx.x.x.x:x
My question is, how Internet explorer (or notepad++ for that matter) knows the first ip ended and that it needs to go down a raw in the original file.
Once i'll figure that out, i want to code something that will convert this:
x.x.x.x:x
x.x.x.x:x
x.x.x.x:x
into this:
x.x.x.x:xx.x.x.x:xx.x.x.x:x
And still keep the rows in it.







