Censor last octet of an IP Address
Posted: Wed Feb 11, 2009 5:40 pm
I am having trouble censoring the last octet of an IP address.
If I have the IP 168.251.436.255 I need it to end up like 168.251.436.*** or something similar.
I also need to have it do the same thing if I have an IP like 40.255.130.79 and I need it to end up like 40.255.130.***.
If I have the IP 168.251.436.255 I need it to end up like 168.251.436.*** or something similar.
I also need to have it do the same thing if I have an IP like 40.255.130.79 and I need it to end up like 40.255.130.***.