Php Preg_match Not Showing Brackets And Its Content In Result String
Something simple $stringData = file_get_contents('testtext.txt'); $regular='/beginning '(.*?)'end/ueU'; preg_match($regular, $stringData,$match); echo $match[0]; just to get t
Solution 1:
That's how HTML is rendered in a browser:
echo htmlentities($match[0]);
Post a Comment for "Php Preg_match Not Showing Brackets And Its Content In Result String"