You cannot just remove the dots like you are doing. That will make different numbers like 127.0.0.1 and 12.70.0.1 look the same. You could expand the numbers to all be three digit numbers, remove the dots and then compare them, but I am sure someone will give a better solution.
Comment on Re: Please help me with this conditional loop on text entries.