[tabby title="regular expressions"]

Highlight last word

      $("p").html(function(index, old) { 
             return old.replace(/(\b\w+)$/, '$1'); 
      });

Get numeric part of an id

      var num = $(this).attr('id').match(/(\d+)/)[1] 

[tabby title="jquery expressions"]

Select email type

    $.extend($.expr[':'], { 
          email: function(em) { 
               return $(em).attr("type") === "email"; 
          } 
    }); 
    
    $(':email').css('border-color','red');

[tabbyending]