Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Then get rid of AA such as:<META NAME="AA.title" CONTENT="Web stie"> <META NAME="AA.docid" CONTENT="Web data ">
Here is my attempt with the regular expression but need some help with this and using the File:Find module (if that is what I need to use?)<META NAME="title" CONTENT="Web stie"> <META NAME="docid" CONTENT="Web data ">
foreach $line(@data) { $line =~ s/<meta name\=\"AA\.\"/<meta name\=\"/gi; print DATA $line; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: changing data
by merlyn (Sage) on Feb 25, 2002 at 17:41 UTC | |
|
(Ovid -- don't use a regex) Re: changing data
by Ovid (Cardinal) on Feb 25, 2002 at 18:43 UTC | |
by Anonymous Monk on Feb 25, 2002 at 19:49 UTC | |
by Ovid (Cardinal) on Feb 25, 2002 at 20:18 UTC | |
by Anonymous Monk on Feb 26, 2002 at 14:13 UTC | |
|
Re: changing data
by AidanLee (Chaplain) on Feb 25, 2002 at 16:23 UTC | |
by Anonymous Monk on Feb 25, 2002 at 18:38 UTC | |
by AidanLee (Chaplain) on Feb 25, 2002 at 21:28 UTC |