Palermo4 on MSDN

Technical Blog of J. Michael Palermo IV

April, 2012

Check it out!

Posts
  • Palermo4 on MSDN

    Windows 8 Anchor Event at Club Nokia

    On April 23rd 2012, the Microsoft Evangelism team on the West Coast will join together and present on the topic of Windows 8 and how to start developing for the new platform.  Be sure to follow all the action with this twitter hash-tag #win8appdev.

    For more information about this event, check out this blog post from Scott Kerfoot.

  • Palermo4 on MSDN

    JavaScript RegEx Pattern for URLs

    Here is a simple JavaScript RegEx pattern for extracting any URL that begins with htttp:

    <script type="text/javascript">
    
    // example string, looks like a tweet to me :)
    var str="Awesome resources for HTML5! http://bit.ly/palermo4html5 #HTML5";
    
    // could also be written as:
    // var regexUrl = new RegExp("http.[^\s]+", "gi");
    var regexUrl=/http.[^\s]+/gi;
    
    // if a match is found, the return type is an array of matches
    document.write(str.match(regexUrl));
    
    // output of above line of code:
    // http://bit.ly/palermo4html5
    
    </script>
  • Palermo4 on MSDN

    HTML5 Delta Reference

    Curious about the changes in HTML5?  The W3C recently published an online reference to easily define the deltas. 
    This reference has been added to the popular HTML5 resources on this site Smile 

    HTML5Deltas

Page 1 of 1 (3 items)