Java - Regex problem

Posted by Yatendra Goel on Stack Overflow See other posts from Stack Overflow or by Yatendra Goel
Published on 2010-04-18T10:20:00Z Indexed on 2010/04/18 10:23 UTC
Read the original article Hit count: 187

Filed under:
|

I have list of urls of types:

where etc can be anything.

So I want to search only those urls that contains www.abc.com/pk/etc or www.abc.com/pk/etc/

© Stack Overflow or respective owner

Java - Regex problem

Posted by Yatendra Goel on Stack Overflow See other posts from Stack Overflow or by Yatendra Goel
Published on 2010-04-18T10:07:54Z Indexed on 2010/04/18 10:13 UTC
Read the original article Hit count: 187

Filed under:
|

I have a list of urls of type http://www.abc.com/pk/ca and http://www.abc.com/pk

Now, I want to find out only those urls that ends with /pk or /pk/ and don't have anything in between .com and /pk

© Stack Overflow or respective owner

Related posts about java

Related posts about regex