News Feed
Sections




News Archive
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


blog comments powered by Disqus

Similar Posts

Reinhold Weber's Blog: MVC anatomy for PHP developers

Adam Trachtenberg's Blog: Stupid PHP one liners: Google calc

Fabian Schmengler's Blog: Anonymous function calls in PHP

PHPBuilder.com: Smarty Templating System

Joshua Eichorn's Blog: Understanding AJAX excerpt available at computerworld.com


Community Events

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


extension podcast opinion video php7 community laravel laravel5 framework release series example voicesoftheelephpant security introduction library version api interview language

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