I have about 500 + ip regex in my apache file like this
99.45.3[2-9]..*$
^99.45.4[0-9]..*$
^99.45.5[0-9]..*$
I have to convert like this into CIDR .
99.45.32.0/21
99.45.40.0/21
99.45.48.0/23
99.45.50.0/21
99.45.58.0/23
Is there a module that can help me convert ip regex to ip range .