• zitrone 🍋@europe.pub
    link
    fedilink
    arrow-up
    2
    ·
    17 hours ago

    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

    • toynbee@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      16 hours ago

      I’m currently on my phone and I’m not going to try to figure out how to test regex on Graphene. Therefore I can only say: well done!