Been trying to find a solution to this one all morning. Have a column of IP's in Excel (for Mac if it makes any difference) and I wanted to shorten them all down to C class level.
I.e
255.255.255.255
becomes
255.255.255
I have played with lots of built in functions but because the last octet can be 1, 2 or 3 numbers long I have not had successful results.
Can anyone suggest a solution? I am thinking some form of regex but I only have very rusty PHP...
Thanks!
DT
Dan Morgan -
I.e
255.255.255.255
becomes
255.255.255
I have played with lots of built in functions but because the last octet can be 1, 2 or 3 numbers long I have not had successful results.
Can anyone suggest a solution? I am thinking some form of regex but I only have very rusty PHP...
Thanks!
DT
Dan Morgan -