Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2009

    Best Tutorial to Learn about Regular Expression in PHP

    I would like to learn Regular Expression Perfectly.

    Could any one send me the links to Learn Regular Expressions in PHP Perfectly.

  2. #2
    Have a look on this link given below, hope this will help you.
    Support Facility | 24/7 web hosting technical support services
    Technical support | Server management | Data migration

    Technical Articles

  3. #3
    Join Date
    May 2009
    Since PHP uses perl-compatible regular expressions (all the preg_ functions), I'd start there. Try googling "perldoc perlre"

  4. #4
    While not exactly PHP specific, this is a great resource for REGEX and other items.
    ZZ Servers - Business Hosting, HIPAA and PCI Compliant Hosting Solutions -
    Xen Virtual Private Servers | Dedicated Servers | Shared Hosting
    Custom configurations, firewall, VPN, load balancers, private networks and more.

  5. #5
    I have made good use of both of the sites mentioned above.

    Very useful resources.

  6. #6
    Join Date
    Feb 2003
    UK - South Coast!
    I don't think there's a "perfect" resource, but there are plenty of good ones out there!

    Then there's lots of other good cheat sheets on the web!, but the best thing to do is just play around with different expressions etc...
    New Shared & VPS Offerings Coming Soon!

  7. #7
    Join Date
    Aug 2009
    I have used this regular expressions tutorial when I was just a newbie in PHP:

  8. #8
    Join Date
    Nov 2001
    Mastering Regular Expressions, Second Edition
    By Jeffrey E. F. Friedl

    Friedl's book is something of a standard, highly recommended. Don't be put off by its focus on Perl, the concepts are the same regardless of language, and many languages have implemented "perl compatible regular expressions" (PCRE).

    You can also look at on-line regular expression testers - very handy when learning, perhaps still useful to experienced folks alike when dealing with hairy regexes. Here is one for PHP:
    Or one for Python and PHP:

    Or how about an add-on for Firefox:
    Last edited by mwatkins; 09-07-2009 at 10:57 AM.
    “Even those who arrange and design shrubberies are under
    considerable economic stress at this period in history.”

Similar Threads

  1. Regular Expression Help
    By smkied in forum Programming Discussion
    Replies: 1
    Last Post: 11-21-2008, 02:37 PM
  2. Regular Expression and PHP
    By jasong in forum Programming Discussion
    Replies: 4
    Last Post: 07-18-2005, 10:06 AM
  3. Regular Expression Help
    By mobilebadboy in forum Programming Discussion
    Replies: 3
    Last Post: 05-16-2005, 07:32 PM
  4. Using Regular Expression to...
    By NetVer in forum Programming Discussion
    Replies: 5
    Last Post: 12-30-2004, 08:16 AM
  5. Is my regular expression right?
    By eagleknight in forum Web Design and Content
    Replies: 9
    Last Post: 10-14-2004, 12:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts