jquery.is.js

Check your data against regular expressions or known keywords.

regexptestsimple

git://github.com/rthor/isjs.git