I'm having issues with regex in PHP. Here is the code I am using the regex on:
<br />Level 163 Operative </div> <div class="sectionBar">
This is the preg_match statement:
preg_match("/<br \/>Level ([0-300]) (.*) <\/div> <div class=\"sectionBar\"><\/div>/i", $output, $op);
$top = $op[1];
echo "$top";
However, when I try this, it doesn't echo anything.