i have a string path1/path2
i need to get the values of path1 and path2.
how can i do it? (maybe regex? but i don't know their construction, maybe you'll hekp me:/
and what about getting the same from such string http://www.somesite.com/#path1/path2?
Thanks