in reply to Find text between two strings?

Hi,

As Joost said, read the tutorial and also perlre.

Using word boundaries should be a addon, so:

my ($thing) = $input =~ /\bfoo(.*?)bar\b/;

Regards,

|fire| at irc.freenode.net

I like merlyn's disclaimer