Thread
:
[SOLVED] Using Perl (Programming), replace /N with <BR> from a string. (Not com
View Single Post
#
2
(
permalink
)
06-10-2007, 05:22 PM
Tapan
Posts: n/a
Use regular expressions
$word =~ s/word1/word2/;
or
$word =~ s/\n/\<BR\>/g;
g: global flag
s: substitute
__________________
Tapan