Based on this post link text
i came up with a regex for javascript
\b(([\w-]+:\/\/?|[\w\d]+[.])?[^\s()<>]+[.](?:\([\w\d]+\)|([^`!()\[\]{};:'".,<>?«»“”‘’\s]|\/)))
this one matches urls like
http://google.comhttp://www.google.comgoogle.com
It fails for google, but when I used japanese characters like 功功.jp it fails.
www.功功.jphttp://www.功功.jphttp://功功.jp
These match. What should I change so that 功功.jp also matches.