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/; [download]
Regards,
I like merlyn's disclaimer