$string = ' ============= Title By: Author Posted: Date ============='; print "Posted by: ", $1 if $string =~ m/By:\s*(\S+)\n/i; print "Date posted: ", $1 if $string =~ m/Posted:\s*(\S+)\n/i;
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Matching the author and post date of an article
by tachyon
in thread Matching the author and post date of an article
by bmal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |