You are viewing a single comment's thread. Return to all comments →
class MyRegex{ String from0to199 = "[0-1]?[0-9]?[0-9]"; String from200to249 = "2[0-4][0-9]"; String from250to255 = "25[0-5]"; String from0to255 = "(" + from0to199 + "|" + from200to249 + "|" + from250to255 + ")"; String dot = "\\."; String pattern = from0to255 + dot + from0to255 + dot + from0to255 + dot + from0to255; }
Seems like cookies are disabled on this browser, please enable them to open this website
Java Regex
You are viewing a single comment's thread. Return to all comments →