• whoareuOP
    link
    fedilink
    319 days ago

    https?//[a-zA-Z0-9_-]*

    I am kinda learning RE right now 😅

      • whoareuOP
        link
        fedilink
        119 days ago

        If we want to include every protocol then the RE could be complex.

        • lad
          link
          English
          119 days ago

          Depending on the use-case it maybe should. On the other hand, some things are better left to library implementations rather than custom regex, e.g. email validation