assuming that the html will be just as simple as the example, is there a more succinct way to do this?if (/^<font\b/i) { my ($fonts) = /face="([^"]+)"/i; if ($fonts) { $fonts =~ s/\s+//g; s/face="[^"]+"/face=$fonts/; } }
In reply to making html smaller by visnu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |