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]
Oct 30, 2006 @ 21: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).

tagged: regular expresssion joy tutorial example situation regular expresssion joy tutorial example situation

Link:

SitePoint PHP Blog:
The Joy of Regular Expressions [4]
Oct 30, 2006 @ 21: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).

tagged: regular expresssion joy tutorial example situation regular expresssion joy tutorial example situation

Link:

SitePoint PHP Blog:
The Joy of Regular Expressions [3]
Sep 27, 2006 @ 19: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.

tagged: joy regular expression part3 read cheat sheet syntax joy regular expression part3 read cheat sheet syntax

Link:

SitePoint PHP Blog:
The Joy of Regular Expressions [3]
Sep 27, 2006 @ 19: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.

tagged: joy regular expression part3 read cheat sheet syntax joy regular expression part3 read cheat sheet syntax

Link:

SitePoint PHP Blog:
The Joy of Regular Expressions [2]
Sep 27, 2006 @ 14: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.

tagged: regular expressions joy example tutorial part2 preg eval meta regular expressions joy example tutorial part2 preg eval meta

Link:

SitePoint PHP Blog:
The Joy of Regular Expressions [2]
Sep 27, 2006 @ 14: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.

tagged: regular expressions joy example tutorial part2 preg eval meta regular expressions joy example tutorial part2 preg eval meta

Link:


Trending Topics: