I am currently using the regex given below to add hrefs to my urls. But recently I got a bug because one of the urls had a full stop after it and the regex added the dot into the link.
(?:https?|ftps?)://[\\w/%.-]+", "<a href='$0'target='_blank'> $0</a>
So,can it be modfied so that it takes only one dot? I'm using Java.