You are viewing a single comment's thread. Return to all comments →
String from0to199="[0-1]?\d{1,2}"; String from200to249="2[0-4]?\d"; 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 →
String from0to199="[0-1]?\d{1,2}"; String from200to249="2[0-4]?\d"; String from250to255="25[0-5]"; String from0to255 ="(" + from0to199 + "|" + from200to249 + "|" + from250to255 + ")"; String dot="\."; String pattern=from0to255+dot+from0to255+dot+from0to255+dot+from0to255;