get particular string using regex in java
- by hussain
i want how to code for get only link from string using regex or anyothers.
here the following is java code:
String aas = "window.open("+"\""+"http://www.pageresource.com/jscript/jex5.htm"+"\""+")"+"\n"+"window.open("+"\""+"http://www.pageresource.com/jscript/jex5.htm"+"\""+")";
how to get the link http://www.example.com/jscript/jex5.htm
thanks and advance