[Solved] How to make regex for 3 slashes?


You can try this regex, although your question is not clear to me.

^students\/([\w\-\d]+)\/data\/sessions$

Check here https://regex101.com/r/xnxwCX/1
you can grab the data in between students/, /data/session.

solved How to make regex for 3 slashes?