Help for this page

Select Code to Download


  1. or download this
    /^((\d{1,2}|1\d{2}|2[0-4]\d|25[0-5])\.){3}\2(\s|$)
    +/
    
  2. or download this
    /         (begin pattern match)
    ^         (match start of scalar)
    ...
    \2        (match '0' to '255')
    (\s|$)    (match whitespace or scalar end (when \n absent))
    /         (end pattern match)