Monday, April 19, 2010

Preg Match Example

http://phize.net/assets/templates/phize.net/portfolio/modx/download/seostricturls.txt
http://www.minerals.nsw.gov.au/__squizlib/url_manipulation/url_manipulation.inc
http://www.etomite.net/browsesnippets.html?int_snipid=54&lst_category=14
http://www.searchlores.org/phpregexspider.htm
http://www.weberdev.com/get_example-4625.html


$chapter_text ='

  • Immunosuppressive therapy (antithymocyte globulin [

    Trichloroacetic acid

    ] and cyclosporine) if no suitable donor
  • ';


    $chapter_text = preg_replace('/\

    (.*?)<\/div><\/h3>/is',"\\1",$chapter_text);

    0 Comments:

    Post a Comment

    Subscribe to Post Comments [Atom]

    << Home