Re: regex multiple lines

2004-01-03 Thread Rob Dixon
Ramprasad A Padmanabhan wrote: > > James Taylor wrote: > > > > On Jan 2, 2004, at 5:38 PM, James Taylor wrote: > >> > >> I'm trying to parse a bit out of an HTML file, where the formatting > >> could change daily as far as spaces/newlines go. Say for example I > >> have something like this: > >> >

Re: regex multiple lines

2004-01-03 Thread Ramprasad A Padmanabhan
James Taylor wrote: ok, well I ended up dropping the regex and splitting the strings and re-building them after being inspired by another thread. so, my $str="text text to be replac ed"; my $repl="replacement text"; my ($a,$b)=split('',$str); my ($c,$d)=split('',$b); $str=$a.$repl.$d; I'd still

Re: regex multiple lines

2004-01-02 Thread James Taylor
ok, well I ended up dropping the regex and splitting the strings and re-building them after being inspired by another thread. so, my $str="text text to be replac ed"; my $repl="replacement text"; my ($a,$b)=split('',$str); my ($c,$d)=split('',$b); $str=$a.$repl.$d; I'd still like to know if you