Commonly Used Regular Expressions

image thumb Commonly Used Regular Expressions Ok, the following is mainly just a note for me.  So, excuse the extreme geekiness…

Below is a list of regular expressions that may be useful if you do any programming:

 

 

 

 

 

  • A regular expression that matches any HTML tag
    • /^<([a-z]+)([^<]+)*(?:>(.*)</1>|s+/>)$/
  • A regular expression that matches an IP Address
    • /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/
  • A regular expression that matches a URL
    • /^(https?://)?([da-z.-]+).([a-z.]{2,6})([/w .-]*)*/?$/
  • A regular expression that matches an Email Address
    • /^([a-z0-9_.-]+)@([da-z.-]+).([a-z.]{2,6})$/

via Nettuts

linkedin Commonly Used Regular Expressionsshare save 171 16 Commonly Used Regular Expressions

Get The Details

image1 Get The Details

SupportDetails.com is a great site that will help you find all the basic support call info that you need when calling tech support.

The following list of information is provided:

 

  • Operating System version
  • Screen Resolution
  • Web Browser
  • Browser Size
  • IP Address
  • Color Depth
  • Javascript Enabled/Disabled
  • Flash Version
  • Cookies Enabled/Disabled

If your on the other end of the support call and need to get this information from your client, send them a link with the name and email address of the client and the email address of the recipient (you), like so:

http://supportdetails.com/?sender_name=Joe&sender=Joe@example.com&recipient=TechSupport@example.com

linkedin Get The Detailsshare save 171 16 Get The Details

Microsoft Lemming And Kool-Aid Drinker Creates Browser Comparison Chart

image thumb17 Microsoft Lemming And Kool Aid Drinker Creates Browser Comparison Chart What a joke!  Every category that they list is extremely subjective.  They don’t even back-up any of their claims with survey results, user comments or even articles written by …anyone, even some highly paid blogger!

Security – “takes the cake”… What?  Ever think of maybe having a security company actually analyze it and see what they find?

Ease of Use – Who says it’s “easiest to use”?  Did A List Apart do a usability review on it?

Reliability – “Only Internet Explorer 8 has both tab isolation and crash recovery features; Firefox and Chrome have one or the other.”  Does that give you any hints as to what your experience will be like?  Notice they didn’t say that IE8 would crash less than Firefox or Chrome.

Customizability – is that even a word?

Compatability – “Internet Explorer 8 is more compatible with more sites on the Internet than any other browser.” That’s because the previous versions sucked so bad that developers were forced to write crappy code using non-standard elements which don’t work in browsers that have been abiding by the standards for years.

Those are just a few of the categories that jumped out at me.  Feel free to comment on others that you feel may or may not have merit.

via Micro$oft

linkedin Microsoft Lemming And Kool Aid Drinker Creates Browser Comparison Chartshare save 171 16 Microsoft Lemming And Kool Aid Drinker Creates Browser Comparison Chart