you are viewing a single comment's thread
view the rest of the comments
[–] 78 points 7 months ago (5 children)

Just because I know what a valid IP is doesn't mean I'm not an idiot 😎

  • source
  • parent
  • hideshow 5 child comments
  • [–] 16 points 7 months ago (3 children)

    Let's see you write a regex for one, then we'll decide.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 7 months ago* (1 child)

    lemme try

    (25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}
    

    tbh i have seen the stackoverflow solutions so i kinda know what i needed to do

    this is entirely typed out from brain tho

  • source
  • parent
  • hideshow 1 child comment