Regex not quite working- [b] tagsby ultranerds (Friar)
|on Sep 20, 2011 at 10:49 UTC||Need Help??|
ultranerds has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to get this code working, which will grab all the contents between b and /b, so that we can check to see the length of those values (basically we wanna check to see if they have abused the "bold" feature on the site ;))
At the moment I have:
This works to an extent, but I think there is something wrong with my regex, as it seems to not be doing quite what I'm after. Could someone please point out where I'm going wrong with this?