C
cerr
Hi There,
First thing, I'm a regular expression newbie.... somewhat anyways...
I would like to recognize the difference between this url:
http://quaaoutlodge.com/site/the-lodge/our-history.html
and that url:
http://quaaoutlodge.com/site/the-lodge.html
and at the same time extract the document name (our-history or the-
lodge) and the directory name if present (the-lodge).
I got stuck at how rto rcognize the second directory instead of the
first (the-lodge/ instead of site/) with "\b\/[a-z]+\/" how do i get
the second one only?
Thanks!
Ron
First thing, I'm a regular expression newbie.... somewhat anyways...
I would like to recognize the difference between this url:
http://quaaoutlodge.com/site/the-lodge/our-history.html
and that url:
http://quaaoutlodge.com/site/the-lodge.html
and at the same time extract the document name (our-history or the-
lodge) and the directory name if present (the-lodge).
I got stuck at how rto rcognize the second directory instead of the
first (the-lodge/ instead of site/) with "\b\/[a-z]+\/" how do i get
the second one only?
Thanks!
Ron