News Feed
Sections




News Archive
feed this:

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

WebProNews:
Introduction To Regular Expressions In PHP
June 27, 2006 @ 06:11:59

Linked to from this new post on the Zend Developer Zone is a handy regular expressions tutorial that any budding PHP developer should definitely check out.

Man I hate REGEX. Not for what it does, it's a powerful weapon. It's part sniper rifle, part bazooka and extremely useful in some situations. As powerful as it is though, it is a pain to write a good REGEX query; especially when you only do it occasionally. Thankfully, Bernard Peh and the gang over at WebProNews have released a primer for REGEX in PHP that makes it a little less painful to work with.

Appropriately titled Introduction To Regular Expressions In PHP, the article starts with a basic REGEX primer. It's sparse on details but it discusses the different types of characters in a REGEX query. Properly formatted, this would be a great little cheat sheet to have handy.

Cal (on the Zend site) mentions that it's a good starting place, but they don't get too deep into the meat of the matter, showing more than just the basics of "this is what this character does". Oh well, I suppose maybe that's being saved for part two...

0 comments voice your opinion now!
introduction tutuorial regular expressions introduction tutuorial regular expressions



Community Events





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


tips list interview library api deployment introduction install framework symfony language update package podcast community zendserver laravel series opinion release

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