Linkify demonstration

Desired result

http://google.com#foobar http://google.com#foobar. http://google.com#foobar Google. http://google.com. (http://google.com#foobar) <http://google.com> http://en.wikipedia.org/wiki/Google_(disambiguation) www.google.com text1@example.com text2@example.com. <text3@example.com> <text4@example.com>. google.com google.com.javapackagedescriptor google-com

Attempt

http://google.com#foobar http://google.com#foobar. http://google.com#foobar Google. http://google.com. (http://google.com#foobar) <http://google.com> http://en.wikipedia.org/wiki/Google_(disambiguation) www.google.com text1@example.com text2@example.com. <text3@example.com> <text4@example.com>. google.com google.com.javapackagedescriptor google-com