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
google.com
and fail for
but when i used japanese characters like
功功.jp
it fails.
only
www.功功.jp
http://www.功功.jp
http://功功.jp
matches.
wat should i change so that 功功.jp also matches.