Regex: Getting content from url
Posted
by farazshuja
on Stack Overflow
See other posts from Stack Overflow
or by farazshuja
Published on 2010-04-22T19:55:13Z
Indexed on
2010/04/22
22:03 UTC
Read the original article
Hit count: 300
regex
|JavaScript
i want to get "the-game" using regex from urls like
http ://www.somesite.com.domain.webdev.domain.com/en/the-game/another-one/another-one/another-one/
http ://www.somesite.com.domain.webdev.domain.com/en/the-game/another-one/another-one/
http ://www.somesite.com.domain.webdev.domain.com/en/the-game/another-one/
Just created space after http, as its not allowing me to post more links
© Stack Overflow or respective owner