All pastes #468204 Raw Edit

Mine

public php v1 · immutable
·published 2007-05-02 23:15 UTC
rendered paste body
      $regex = '/<!--STARTARTICLE-->(.*)<!--ENDARTICLE-->/';      $ret   = preg_match($regex, $string, $matches);      print_r($matches);