News Feed
Sections




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

SitePoint PHP Blog:
The Joy of Regular Expressions [1]
September 26, 2006 @ 08:02:45

Sometimes, it's just not enough to sit and try to teach theory about something in programming - it's better to just jump right in and take things as they come. That's what Harry Fuecks thinks, at least in his latest post on the SitePoint PHP Blog - a look at the "Joy of Regular Expressions".

He does go over a bit of the theory and why they are so invaluable, but it's a short section before he gets to the heart of the article - working with regular expressions for:

  • positive matching
  • matching all instances in a given string
  • finding an exact match
  • matching the start of a string
  • validation of the contents of a string
  • checking the length of a string
There's simple examples included for each of the items to help you get an idea of how they'd work.

1 comment voice your opinion now!
regular expression tutorial theory matching length contents regular expression tutorial theory matching length contents


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Under the Hood of Yii's Component Architecture, Part 3

PHPMaster.com: Understanding the Command Design Pattern

Brian Swan's Blog: Accessing Windows Azure Table Data as OData via PHP

Wes Ray's Blog: Configuring Fedora 12 PHP/MySQL Server with Nginx and reverse proxy to Apache

Rob Allen's Blog: A form in your layout


Community Events





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


introduction podcast interview threedevsandamaybe code list framework release developer testing refactor opinion install series language community laravel symfony2 configure unittest

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