This tool sanitizes your text by removing IP addresses, ensuring that sensitive or unwanted network identifiers are stripped out. You can choose to remove all IP addresses, target only IPv4 or IPv6 addresses, or focus on IP addresses that match (or do not match) a specific pattern. Additionally, you have the option to replace detected IP addresses with a custom placeholder.
Examples:
Remove All IP Addresses
Removes every IP address (IPv4 and IPv6) from the text.
User logged in from 192.168.1.10 and 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
User logged in from and .
Remove Only IPv4 Addresses
Removes only IPv4 addresses while keeping IPv6 addresses intact.
Access from 192.168.1.10 and 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
Access from and 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
Remove Only IPv6 Addresses
Removes only IPv6 addresses while preserving IPv4 addresses.
Login from 192.168.1.10 and 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
Login from 192.168.1.10 and .
Replace IP Addresses with a Custom Placeholder
Replaces every detected IP address with a custom placeholder (e.g., [IP]).
User IPs: 192.168.1.10, 10.0.0.5 and 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
User IPs: [IP], [IP] and [IP].
Remove Only IP Addresses Matching a Pattern
Removes only IP addresses that start with the given pattern (e.g., "192.168").
Connection from 192.168.1.10 and 10.0.0.5.
Connection from and 10.0.0.5.
Remove All Except IP Addresses Matching a Pattern
Removes every IP address except those that start with the given pattern (e.g., "10.").
Access from 192.168.1.10 and 10.0.0.5.
Access from and 10.0.0.5.