Possible Duplicate:
Java - Regex problem
I have list of URLs of types:
http://www.example.com/pk/etc
http://www.example.com/pk/etc/
http://www.example.com/pk/etc/etc
where etc
can be anything.
So I want to search only those URLs that contains www.example.com/pk/etc
or www.example.com/pk/etc/
.
Note: It is for all those who think that it is a duplicate question -- Kindly read both the questions carefully before marking this question as duplicate. Even after reading you can't understand that both the questions are different, then kindly leave without marking it as duplicate because I can't tell you the diff. in anymore detail