Hi all,

I need to capture all the folders in a URL with a regex, but I can't
get the pattern.

I've tried  @"(http://[^/])?/(?<folders>[^/]*)/([^/]*)\.[^/]*", but it
doesn't work. What pattern can I use to return a capture group that I
can iterate through and extract all the directories within a URL?

Regards,

Chris

Reply via email to