0

Lets say I have : voyage/asie/emirats-arabes-unis/dubai/

I want to check if there is only /asie/emirats-arabes-unis/ but not /dubai/.

Is there a way to say capture everything but stop capturing if / is met ?

Actually I was using this voyage\/(.+)\/(.+)\/ but obviously there is a problem in those specific case.

Shared playground

Baldráni
  • 5,332
  • 7
  • 51
  • 79

0 Answers0