Apr
20
2012

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.

    Copyright © Microsoft Corporation. All rights reserved.
    The code provided in this post is licensed under the Microsoft Public License (Ms-PL).
Apr
13
2012

JavaScript RegEx Pattern for URLs

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

<script type="text/javascript">

// example string, looks like a tweet to me :)
var str="Awesome resources for HTML5! http://bit.ly/palermo4html5 #HTML5";

// UPDATED 2012-07 thanks to ArthurDent69!
// could also be written as:
// var regexUrl = new RegExp("https?:[^\s]+", "gi");
var regexUrl=/https?:[^\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>
    Copyright © Microsoft Corporation. All rights reserved.
    The code provided in this post is licensed under the Microsoft Public License (Ms-PL).
Apr
11
2012

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

    Copyright © Microsoft Corporation. All rights reserved.
    The code provided in this post is licensed under the Microsoft Public License (Ms-PL).

Resources

Archives

Team Blogs

Download OPML file OPML