Hey, Ok, looking through this ... I'm confused.
<< SNIP >> > > > > Perhaps: > > > > $scalar =~ s/^(a|an|the)\s*\b//i; > > > > would work better. <<SNIP>> Is this capturing into $1 the a|an|the (yes) and the rest of the title into $2 (no?). After doing so, will it reverse the two ( i.e. s/^(a|an|the)\s+(.*)\b/$2, $1/i )? Also, what is the "\b"? it seems that the trailing "i" is for ignoring case; is that correct? Just need some help with RE!! thanks, --Errin -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>