Creative, Informative and Entertaining Stuff for everyone

Wednesday May 23rd 2012

Categories

Archives

Calender

August 2009
S M T W T F S
« Jul   Oct »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Archive for August 20th, 2009

nl2br in perl

How to replace new line character with br $tempString = "Hello is testing for new line\n to br"; $tempString =~ s/\n/<br\/>/; output = "Hello is testing for new line to br";