bmal has asked for the wisdom of the Perl Monks concerning the following question:
Is there any way to match the Author and post Date of an article, e.g., a news? Normally the content of a news begins with:
============= Title By: Author Posted: Date =============
But not always like that. When the 'by' is remove, or the 'posted' is removed, is there any way to tell whether the line is of the author's name, or the date? using regular expression?
ThanksEdit ar0n -- fixed formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching the author and post date of an article
by grep (Monsignor) on Dec 26, 2001 at 13:38 UTC | |
|
Re: Matching the author and post date of an article
by tachyon (Chancellor) on Dec 26, 2001 at 15:54 UTC | |
|
Re: Matching the author and post date of an article
by Anonymous Monk on Dec 26, 2001 at 13:07 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |