News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Joey's Blog:
8 Practical PHP Regular Expressions
October 17, 2007 @ 10:27:00

On his web development blog, Joey has posted a new list of eight handy regular expressions you can use in your code for common validations.

Here are eight examples of practical PHP regular expressions and techniques that I've used over the past few years using Perl Compatible Regular Expressions. This guide goes over the eight different validation techniques and describes briefly how they work. Usernames, telephone numbers, email addresses, and more.

Each of the regular expressions comes complete with an explanation of what it is and the kinds of strings it's looking for. Comments on the post have helped even more, finding places where they might break or not catch all possibilities.

0 comments voice your opinion now!
regular expression list practical username phone email zip ipaddress date regular expression list practical username phone email zip ipaddress date



Similar Posts

Pierre-Alain Joye's Blog: Zip 1.4.0, let comment it!

Tiffany Brown's Blog: A better RegEx pattern for matching e-mail addresses

PHPBuilder.com: Email Forms in PHP

Justin Silverton\'s Blog: PHP editor bonanza

DeveloperTutorials.com: AJAX and PHP Form Processing


Community Events







Don't see your event here?
Let us know!


PEAR zendframework application database zend release developer conference PHP5 package example mysql framework job ajax security code releases book cakephp

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework