Themeforest

jQuery Demo: Regular Expression Validation Samples

  1. Regex: /^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$/
  2. Regex: /^\s*[a-zA-Z0-9,\s]+\s*$/
  3. Regex: /^([a-zA-Z0-9]{0,8})$/
  4. Regex: /^[2-9]\d{2}-\d{3}-\d{4}$/
  5. Regex: /^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$/
  6. Regex: /(.)\1{2,}/
  7. Regex: /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/
  8. Regex: /^([\w-\.]+@(?!gmail.com)(?!yahoo.com)(?!hotmail.com)([\w-]+\.)+[\w-]{2,4})?$/
  9. Regex: /^4[0-9]{12}(?:[0-9]{3})?$/

Return to blog post

WordPress Social Stream Plugin
Social Network Tabs For Wordpress
Top Social Share Posts Plugin
jQuery Social Share Buttons Plugin