How would i capture all the text between Name="""
Example: Name="I need all this text"
Try this:
$str = 'Name="I need all this text."'; $reg = '#Name="(.*)"#isU'; $m = preg_match_all($reg, $str, $matches); var_dump($matches);
-- Rik