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

SitePoint PHP Blog:
The Joy of Regular Expressions [4]
October 30, 2006 @ 15:34:00

Harry Fuecks brings the next part of his "Joy of Regular Expressions" series to the SitePoint PHP Blog today with part four, building on the previous how-tos: part one, part two, and part three.

He looks at a few different topics this time - date checking, making dates more user-friendly, exploding with patterns, and capturing split delimiters. Just like in the previous articles in the series, he explains in what kind of situation the expression would be used and the sample code showing how to use it (oh, and the output too).

0 comments voice your opinion now!
regular expresssion joy tutorial example situation regular expresssion joy tutorial example situation


SitePoint PHP Blog:
The Joy of Regular Expressions [3]
September 27, 2006 @ 14:40:00

Harry Fuecks has gotten busy and posted the third part of his "Joy of Regular Expressions" series over on the SitePoint PHP Blog today.

Following on from the last part, this one is more of an intermission-a round up of regex syntax seen so far and a couple of links following feedback.

He looks at two different topics:

  • A "must reads" section of resources for getting the most out of regular expressions
  • A comprehensive "cheat sheet" with tips on expression delimiters, literals, pattern modifiers, character classes, quantifiers, assertions, sub-patterns, and working with the blackslash.

0 comments voice your opinion now!
joy regular expression part3 read cheat sheet syntax joy regular expression part3 read cheat sheet syntax


SitePoint PHP Blog:
The Joy of Regular Expressions [2]
September 27, 2006 @ 09:20:00

Harry Fuecks is back today on the SitePoint PHP Blog with part two of his "joy of regular expressions" series, continuing on from this previous entry.

He jumps right in, summarizing the first part in a small section before getting back into the examples:

  • Hunting for .jp(e)gs
  • Escaping Meta-Characters
  • Search and Replace
  • preg_quote()
  • preg_replace()
  • Word Boundaries, Word Characters...and everything else
  • Sub patterns
  • Spot the XSS Hole
  • eval() is evil!
  • preg_replace_callback()
As you can see, it's crammed with just as much infromation as the first part and covers a wide range of topics to help you get more in tune with your inner regular expression guru.

0 comments voice your opinion now!
regular expressions joy example tutorial part2 preg eval meta regular expressions joy example tutorial part2 preg eval meta



Community Events





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


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

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