tihomir ivanov

Hi All,

I learned PHP in only 17 hours and it was absolutely enough to begin work as a PHP developer. Learn More how it can be done.

 

Honestly, I don't like asp.net, php, java, c++, javascript, ruby at all.

So, I Created My Own Powerful Programming Language for a few days.

Learn How it Can Be Done. It's really easy :)

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 [...]

Tags: ,