Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Please help in writing the regex.
match the url below
and not matchhttps://www.abc.com/ap/ap/top-news/76/nTk3M/ https://www.abc.com/videos/news/eye-catching/vmxJr https://www.abc.com/ap/top/45/state-political-news/fgdfgd
There should be some value after three "/"'s after the domain name and should matchhttps://www.abc.com/ap/ap/top-news/ https://www.abc.com/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: match the urls
by tobyink (Canon) on Jan 11, 2013 at 09:38 UTC | |
Re: match the urls
by Anonymous Monk on Jan 11, 2013 at 09:25 UTC | |
Re: match the urls
by sen (Hermit) on Jan 11, 2013 at 14:35 UTC |
Back to
Seekers of Perl Wisdom