PDA

Click to See Complete Forum and Search --> : Simple Perl Question


kurtsimons
Feb 16th, 2001, 02:17 PM
How do i replace all line feeds with <BR>'s

all "'s with &quot;

etc.

thanks

sarath_777
Feb 16th, 2001, 02:42 PM
hi,
i will not be able to give you exact code..
but using Perl regular expression you can find and
replace words..

s/<CRLF>/<BR>/g

option g at the end is to replace all..
hope this helps..
sarath