This REGEX is not working as I would like it to...
/<ol class=\"references\">\/(.*?)<\/ol>/s
I'm using it in conjunction with preg_match
in PHP.
preg_match_all("/<ol class=\"references\">\/(.*?)<\/ol>/s", $file, $mats);
When I put it in http://regex101.com/, it seems like the issue is that it wants the string desired to match/parse to be <ol class="references">/text here</ol>
?
It states: \/ matches the character / literally
However, I want the snippet of REGEX and PHP to parse <ol class="references">text here</ol>