Does anyone know how to mask the last 3 digits of an IP? I'm restoring an old chatroom to it's former state and this was included. Now I managed to include the whole IP along with the messages being posted, but I would like to mask out the last 3 digits (better the digits behind the last dot, may it be one, two or three digits behind it.) and replace them with ***. So It would look like this 213.84.7.*** instead of 213.84.7.13. Any help would be very appreciated, I know for someone with decent knowledge of perl, maybe with a good look at the script he or she could help me solve it.
For an example of the chat and the script, please see ( It's the upper room) If you know how this can be solved please let me know.
Regards, Marc (mnemo)
For an example of the chat and the script, please see ( It's the upper room) If you know how this can be solved please let me know.
Regards, Marc (mnemo)