-1
比方說,你有這個變量,如何從Java或Groovy中的字符串中提取鏈接?
String message = "This is a link http://www.example.com/"
或者你有這樣的,
String message2 = "This is a link http://www.example.com/ and another link http://www.myfico.com/Images/sample_overlay.gif"
我怎麼能只提取鏈接到一個列表?