I am trying to extract the fields of a URL path.

Every URL extract example I have found online (or have tried to compose
personally) has been wrong.

here is a sample url https://api.github.com/repos/orgName/final

I want to extract "orgName" from it

-- 
Posted via http://www.ruby-forum.com/.