top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Pattern.compile()

+4 votes
241 views
What is Pattern.compile()
posted Jan 22, 2015 by Muskan

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

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 .

...