My URL Pattern
Written on February 12, 2010 – 1:51 am | by admin |I needed a url pattern that recognizes the following urls: http://site.com www.site.com https://site.com https://www.site.com Even more, I wanted after url detection, it to be replaced with: http://site.com -> http://site.com www.site.com -> http://www.site.com https://site.com -> https://site.com https://www.site.com -> https://www.site.com I use Regex’s Replace method. It detects all urls and replaces them with the correct format. Here [...]

