in reply to
Check for 'and'
It seems you are asking two questions. For the first, I'd recommend
/([^}]*)/
. For the second:
print "{TAG} and {COUNT2} is 1" if /and/;
[download]
Comment on
Re: Check for 'and'
Select
or
Download
Code
In Section
Seekers of Perl Wisdom