yitzle wrote:
# Requires "by": $line = "daffromHello Worldby"; $line =~ /from(.*)(by)/; print $1;Not sure about making it optional. Can always check if you got "" and then try without the "by"
the .* pulls in too much. I'm going to have to back up and try this again. But I think it's late. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/