perl -0777 -ne 'print "$1\n" while(/((.|\n|\r|)*?)<\/b>/gm);' test.html