Quote:
Originally Posted by fris
where is the value for the link block stored to grab the certain block?
|
assign it to a variable, ex. $link_block
Code:
$link_block = preg_replace( '|.*?</h3>(.*?)<h3>.*|s', '$1', $input );
fwiw, I prefer using xpath too like alcstrategy mentioned, but probably overkill depending on this need.