HTH$string="<body leftmargin=0 bgcolor=\"red\">"; $newContent = "Test String"; $string =~ s/(<body(.*)>)/$1$newContent/g;
In reply to Re: Regular Expressions
by apt_get
in thread Regular Expressions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |