use : http://regexlib.com/
On Mon, Oct 5, 2009 at 9:15 PM, C. <[email protected]> wrote: > > 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 > -- --~--~---------~--~----~ MANISH LANGA --~--~---------~--~----~
