More Fun With -n

perl -nle '/class="(.*?)"/ && print $1' *.html