Search:
Main Menu
Login | RSS |

Quick PHP Code Tips and Examples

PHP Programming Tips, Tutorials and Source Code Examples for newbie

PCRE Cheat Sheet (Perl Compatible Regular Expression)

May 3rd, 2007 by Jon Moffet

Regular Expression (Regex, for short) is a very powerful feature in the PHP programming language. It is useful for manipulating strings using a set of well-defined rules.

However the often complex syntax rules used in Regex can prove to be a challenge to some. Thankfully, the folks at PHPGure has produced a nice and easy to read PCRE Cheat Sheet which contains commonly use Regex syntax like (\w) (\d) (\s) as a source of reference.

Download PCRE (Perl Compatible Regular Expression) Cheat Sheet (pdf) here

p/s: I've personally have the cheat sheet plastered on the wall of my room to remind me of the common regex shortcut (yes, I'm sucks at regex).

Tags: , , , ,

Bookmark Post:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • NewsVine
  • Reddit
  • Netvouz
  • Spurl
  • Furl
  • digg
  • YahooMyWeb
  • del.icio.us

Posted in Uncategorized |

Related Posts

2 Responses

  1. mnajem Says:

    wehh tak kasi kredit kat aku .rotfl

  2. 金銀perlプレゼント Says:

    Kramer auto Pingback[...] default options.■PCRE Cheat Sheet (Perl Compatible Regular Expression)(Google Blog Search: perl)http://phpcode.mypapit.net/regex/pcre-cheat-sheet-perl-compatible-regular-expression/32/Download PCRE (Perl Compatible Regular Expression) Cheat Sheet (pdf) here. p/s: I’ve personally have [...]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.