I have a table in Cassandra which stores IP in text format. I want to delete rows from that Cassandra table whose IP value is a private IP.
i.e. IPs which lie within the below ranges:
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
240.0.0.0 - 255.255.255.255
I was looking through querying using regex, but couldn't find a suitable answer. How do I go about it?