in reply to Re: Regex not quite working- [b] tagsin thread Regex not quite working- [b] tags
while ($post_message =~ /\[b\](.+?)\[\/b\]/sg) { print "BOLD: $1 \n\n"; $bold_length += length($1); } [download]