I am unablt to use the following code to match the following string, I do not know what is going on
$regex = "/\\251/i";
if (preg_match($regex, $contents)) {
echo 'good it works';
}
the $contents are as follows
Shanghai Taipei Tokyo TorontoOxford is a registered trade mark of Oxford University Pressin the UK and in certain other countriesPublished in the United Statesby Oxford University Press Inc., New YorkRevised text \251 John Guy 2000
I have tried encoding the string to no luck
$contents = utf8_encode ($contents);
this works in all the online tools i used, am I missing anything to see why it would not work when being run?