Rexex right match url with DOT at the end
I have right regex to find urls in text, but one thing i can't solve. If
url ends with DOT - this dot matches as part of url.
http://jsfiddle.net/DKNat/11/
For sample, text is 'The url is www.domain.com. Second is wiki.org.'
Urls last dot is not part of url, but regex replace it too.
No comments:
Post a Comment