Hello, my tool is collecting the users' IP addresses and I'd like to only collect a part of it not the full one.
Example: user IP is 100.200.300.400
I want it to get collected as 100.xxx.xxx.400
Example 2: user IP is 157.12.9.75
I want it to get collected as 157.xx.x.75
But I'm not sure how to replace the middle part since there isn't only 1 dot.
Thanks in advance!