Chapter 22. Regular Expressions


    Recipe 22.0.  Introduction

    Recipe 22.1.  Switching from ereg to preg

    Recipe 22.2.  Matching Words

    Recipe 22.3.  Finding the nth Occurrence of a Match

    Recipe 22.4.  Choosing Greedy or Nongreedy Matches

    Recipe 22.5.  Finding All Lines in a File That Match a Pattern

    Recipe 22.6.  Capturing Text Inside HTML Tags

    Recipe 22.7.  Preventing Parentheses from Capturing Text

    Recipe 22.8.  Escaping Special Characters in a Regular Expression

    Recipe 22.9.  Reading Records with a Pattern Separator

    Recipe 22.10.  Using a PHP Function in a Regular Expression




PHP Cookbook, 2nd Edition
PHP Cookbook: Solutions and Examples for PHP Programmers
ISBN: 0596101015
EAN: 2147483647
Year: 2006
Pages: 445

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net