perl - Converting text file to html -


i have plain text file looks -

234234 text

345435 text

23423 text

i convert html either vbscript, perl or else looks nice when emailed out. maybe can make numbers bolded etc.

any ideas on how can this?

thanks

if file simple have written, perl -ne 'chomp; s!^(\d+)!<b>$1</b>!; print "$_<br />\n"' inputfile.txt have asked.

however if source more complex this, 1 of many html formatting modules on cpan


Comments

Popular posts from this blog

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

php - Change action and image src url's with jQuery -