Error can't get name in strong tag in php?
I have a sample code:

    $text='
    <div id="container">
       <div></div>
       Model Device:
       <strong>Nokia Lumia 900</strong>
       <br>
    </div>
    ';

And function get name in php:

    $content = file_get_contents($text);
    $name = preg_replace('/^[\d\D]*?<strong>([\d\D]*?)<\/trong>[\d\D]*?$/is',"$1",$content);
    echo $name;

When result is null, how to fix it?
Error can't get name in strong tag in php?
===

I have a sample code:

    $text='
    <div id="container">
       <div></div>
       Model Device:
       <strong>Nokia Lumia 900</strong>
       <br>
    </div>
    ';

And function get name in php:

    $content = file_get_contents($text);
    $name = preg_replace('/^[\d\D]*?<strong>([\d\D]*?)<\/trong>[\d\D]*?$/is',"$1",$content);
    echo $name;

When result is null, how to fix it?