Youknow we don't simply hand out answers. Besides, I don't know offhand. There are lots of regular expression resources; I presume you have been through the Java Tutorials which is a good introduction. Another useful link is http://www.regular-expressions.info/.
Jacob Sonia wrote:But the abc.com can be anything.
Anything? Then it isn't possible to produce such a regex. All we know about the text is that it's http:// followed by something-1 followed by a dot followed by something-2. And since both of something-1 and something-2 can themselves contain a dot, the requirements are ambiguous. You'll need to improve on your requirements before you can get anywhere.