HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

We're glad you're here, but we'd be thrilled if you voted! Login and vote now.
Link 86859 thumbnail
User 298704 avatar

By startrak118
via smseserver.com
Published: Jun 12 2008 / 09:18

a function that I have developed in PHP for checking to see if data is in a valid format. These are some of the common validations I have needed while programming various projects and websites. Regular expressions are some of the most powerful validation checks available in PHP, however they are not always easy to understand.
  • 14
  • 3
  • 1683
  • 0

Comments

Add your comment
User 244569 avatar

bulgroz replied ago:

0 votes Vote down Vote up Reply

I'm sorry , but some of the regular expressions are really bad. For an example, try to see if del.icio.us is a valid URL...

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.