Java Regex

  • + 0 comments
    class MyRegex {
        String pattern = "\\b(?:(?:25[0-5]|2[0-4]\\d|1\\d{2}|0?\\d{1,2})\\.){3}(?:25[0-5]|2[0-4]\\d|1\\d{2}|0?\\d{1,2})\\b";
    }