you are viewing a single comment's thread
view the rest of the comments
[–] 16 points 5 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 5 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