Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Url Levels Regex Rate Topic   - - - - -

 
  • alijaved
  • Advanced Member
  • Members
  • Join Date: 14-Apr 18
  • 124 posts

Posted 16 July 2018 - 02:49 PM #1

Dear community, 

 

I am trying to match the URL levels using regular expressions, is there a way that I can match the Regex URL levels or generate them by just giving the base URL of my site?

 

I used the below code to match the URLs but they don't work, I used this code in Gonative.io for apps

 

[
  {
    "regex": "https://example.com/?",
    "level": 1
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  },
  {
    "level": 2
  }
]