Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $title = "This is the New Title cool_image.gif Tue Feb 8 09:43:17 2 +005"; if($title =~/(.*?)(\w+|\W+\.\w+)(.*?)/ig){ print "<br><b><font color=yellow>**1=$1 *2=$2 * 3=$3 *****</b></font>< +br>"; }else{print "<br><b><font color=yellow>1316 No ok match</b></font>";}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching Problem
by Random_Walk (Prior) on Feb 08, 2005 at 15:51 UTC | |
|
Re: Matching Problem
by jdporter (Paladin) on Feb 08, 2005 at 15:27 UTC | |
|
Re: Matching Problem
by RazorbladeBidet (Friar) on Feb 08, 2005 at 15:46 UTC | |
|
Re: Matching Problem
by cog (Parson) on Feb 08, 2005 at 15:51 UTC |