XF 1.3 Auto linking for people who don't use http or www?

Is there anyway to automatically create hyperlinks when people type in a domain manually and don't use the http:// or the www. before a domain? Like example.com instead of http://example.com . I was thinking of something filtering from {variable}.com to www.{variable}.com and applying the same thing for .net, .org, .biz, .info and other common domains.