News Feed
Sections




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

PHPBuilder.com:
How Regular Are Your Expressions (The ABC's of PHP, Part 9)
May 20, 2009 @ 11:51:13

On PHPBuilder.com there's a new installment in their "ABCs of PHP" series posted - a look at working with regular expressions.

We've looked at strings, and numbers and all sorts of types of data, but we've not yet seen how to do something really important, and that's to look for and pull interesting parts out of the data we have, to do that where going to use some magic from the Perl world called "Regular Expressions".

They start simple by looking at what regular expressions are and how they work to match portions (or all) of a string. Thankfully, they chose to go with the preg_* functions (like preg_match and friends) for their matching over the ereg_* functions. They talk about direct matches, wildcards and partial matching.

0 comments voice your opinion now!
beginner tutorial expression regular


blog comments powered by Disqus

Similar Posts

Devollo.com: Data Filtering Using PHP's Filter Functions - Part one

Gonzalo Ayuso's Blog: Using a stream wrapper to access CouchDb attachments with PHP

Alexander Netkachev's Blog: Installing Propel object persistence layer for Web application

Stefan Mischook's Blog: Video Tutorial: PHP conditionals

php|architect: The Magic __set_state Method


Community Events





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


opinion podcast interview community list zendserver language introduction library tips threedevsandamaybe developer bugfix series laravel symfony release framework api deployment

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