I am using regular expression to get URL in
the format http://www.example.com/abc/def/xyz
so i have used regular expressinon ” abc/def/.*? ”
but this also fetches me url in the format
http://www.example.com/abc/def/xyz/Some_url
How do I get the URL which doesnot contain any sublevels after
level of xyz ?
Something like:
The
$makes sure there are no/characters until the end.