Vivek Modi
01/28/2022, 10:48 PMval string = "Check out this property I found using Daft
<https://www.daft.ie>"
Output
<https://www.daft.ie>
ephemient
01/28/2022, 11:04 PMVivek Modi
01/28/2022, 11:06 PMZun
01/29/2022, 10:03 AMJiddles
01/29/2022, 10:41 AMval inputString = "Check out this property I found using Daft\n\n<https://www.daft.ie>"
val regex = Patterns.WEB_URL.toRegex()
// If there is matching string, then find method returns non-null MatchResult
val match = regex.find(inputString)!!
println(match.value) // <https://www.daft.ie>