Archive for October, 2008

Some useful and common regular expressions (regex)

Regex for URI

 var uri_re = /^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;

” Don’t miss this one! “

While waiting for my car to be fixed at the dealership, I was browsing through the day’s local newspaper.

This ad on the business section of the paper caught my eye,

“Great Minds Gathering on Oct 7 – Don’t miss it. Today’s date Oct 23 2008.”

Quite entertaining

Quite entertaining

With all the doom and gloom, market crashes and poor earnings reports, this is the only thing on the business page that brought a smile.