Working like a charm now - thanks!while ($post_message =~ /\[b\](.+?)\[\/b\]/sg) { print "BOLD: $1 \n\n"; $bold_length += length($1); }
In reply to Re^2: Regex not quite working- [b] tags
by ultranerds
in thread Regex not quite working- [b] tags
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |