"be consistent" | |
PerlMonks |
Matching the author and post date of an articleby bmal (Novice) |
on Dec 26, 2001 at 12:05 UTC ( [id://134363]=perlquestion: print w/replies, xml ) | Need Help?? |
bmal has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
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:
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
Back to
Seekers of Perl Wisdom
|
|