title: Regex for IP validation with range?
body: <p>I need a regex pattern that validates IP addresses. This is easy enough to google for, but I there is a small catch. I need the last numbers to be able to accept a range. So the following input would validate.</p>
  
  <p>XXX.XXX.XXX.X-Y</p>
  
  <p>so something like 168.68.2.1-34</p>
  
  <p>I have found patterns for normal IP addresses, but none for handling ranges.</p>