<div style='display: none;' class='hideit menuh286'>
Próbowałem stosować już \n ale nic nie daje ..
A oto kawałek mojego skryptu :
$regexp = "<div style=\"cursor: pointer;\" id=\"(.*)\">(.*)<\/div>"; foreach($matches as $match)
<div style='display: none;' class='hideit menuh286'>
$regexp = "<div style=\"cursor: pointer;\" id=\"(.*)\">(.*)<\/div>"; foreach($matches as $match)
$text = '<div style="cursor: pointer;" id="menuc286">tytuł</div> <div style=\'display: none;\' class=\'hideit menuh286\'> <div style="cursor: pointer;" id="abcd">12345</div> <div style=\'display: none;\' class=\'hideit menuh286\'>'; $regexp = "<div style=\"cursor: pointer;\" id=\"(.*)\">(.*)<\/div>"; }
<div style="cursor: pointer;" id="menuc286">Tytuł</div> //TUTAJ JEST "ENTER" <div style='display: none;' class='hideit menuh286'><tr><td><table cellpadding='0' cellspacing='0' border='0' width=0%' align='center'><tr><td><a href='Link' target='_blank'>
$regexp = ("<div style=\"cursor: pointer;\" id=\"(.*)\">(.*)<\/div>", "<div style='display: none;' class='hideit menuh286'><tr><td><table cellpadding='0' cellspacing='0' border='0' width=0%' align='center'><tr><td><a href='Link' target='_blank'>");
$regexp = ("<div style=\"cursor: pointer;\" id=\"(.*)\">(.*)<\/div>\n<div style='display: none;' class='(.*)'><tr><td><table cellpadding='0' cellspacing='0' border='0' width=0%' align='center'><tr><td><a href='(.*)' target='_blank'>"); foreach($matches as $match)