News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zoomzum Blog:
10 Powerful PHP Regular Expression For Developers
July 27, 2011 @ 09:02:10

On the Zoomzum blog there's a new post with ten regular expressions PHP developers can use to accomplish some common tasks (like email validation and date formatting checks).

Regular expression for the PHP developers, on of the most popular tool for validating data is the regular expression. In this list we provides some validation - string match, password match validation, email address validation, date format and many more which helps developer to make their application more fast and easy to execute. [...] Have you note that, regular expressions are more slower than the basic string function, its takes a short time to execute than any others.

Included in their list are things like:

  • Password Match Validation
  • Validate URL
  • Validate URL using Preg_match
  • UK Postcode Validation
  • SSN,ISBN and Zipcode Validation

A few of these could be done with either one or two string calls or some of the filtering functions that are included in PHP.

5 comments voice your opinion now!
regular expression hint list validate regexp


blog comments powered by Disqus

Similar Posts

WebResourcesDepot.com: 19 Promising PHP Template Engines

Francois Zaninotto's Blog: Validating a YAML file against a schema in PHP

PHPEverywhere: PHP 5.1 - The Bazaar Is Sometimes Bizarre

ITtoolbox.com: So I\'m a PHP developer and my company runs SAP now what?

Giorgio Sironi: The full list of my articles on DZone


Community Events

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


list introduction project language community composer interview application laravel series framework example podcast part2 php7 opinion yii2 symfony programming api

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