Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. ^([^/]+/)([^/]+/)([^/]+/)$
  2.  
  3. ^([^/]+/){3}$
  4.  
  5. A repeated capturing group will only capture the last iteration. Put a capturing group around the repeated group to capture all iterations or use a non-capturing group instead if you're not interested in the data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement