A fast and lightweight javascript syntax highlighter for simple addition to your blog or site showcasing generic code without using server-side lexical analysis.
A fast and lightweight natural sort algorithm for javascript.
UPDATE 2/25/2012 - New 0.7 version with case-insensitive sorting support.
UPDATE 3/5/2011 - New 0.6 version that fixes date comparison in most modern browsers, e.g. Chrome Beta.
Prevent characters from being entered on input fields in html via regular expression syntax. This is similar to the TextField.restrict property in Flash.