Here is my regex101 example which works : https://regex101.com/r/fE6rO9/2 (you have to wait a few secondes because it's big )
here is my PHP
$content = htmlentities($contentCode);
/* correct echo when i copy paste it into regex101 */
echo $content;
// copy past from regex101
$re = "/<\\/form><table class=\"forumline\" width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">(.*)<\\/table><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">/";
preg_match($re, $content, $matches);
var_dump($matches);
but when i run it, it echoes :
array (size=0)
empty
Any idea what the problem is ?
This is the regex taken appart :
"/<\\/form><table class=\"forumline\" width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">(.*)<\\/table><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">/";