Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Regex: Find all html links that have minimum 3 letters after .com/

    Help wanted · · · – – – · · ·
    2
    3
    103
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hellena Crainicu
      Hellena Crainicu last edited by

      hello, I wanna find all links that have minimum 3 letters after .com/

      for example:
      https://website.com/enigma-one.html

      and this one below (that I need to find)

      https://website.com/ens

      I try this formula, but it doesn’t work:

      SEARCH: https://website.com/\w{0,3)

      Neil Schipper 1 Reply Last reply Reply Quote 0
      • Neil Schipper
        Neil Schipper @Hellena Crainicu last edited by

        @hellena-crainicu said in Regex: Find all html links that have minimum 3 letters after .com/:

        minimum 3 letters after .com/

        \w{0,3)

        The {a,b} syntax is to specify a min and a max.

        Use {3,} for a min of 3, and no max.

        Hellena Crainicu 1 Reply Last reply Reply Quote 2
        • Hellena Crainicu
          Hellena Crainicu @Neil Schipper last edited by

          @neil-schipper thanks.

          WORKS:

          Regex Search: https://website\.com/en\w{1,}

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors