I have data such as:

A|B|C|44
X|Y|Z|33,44
C|R|E|44,55,66
T|Q|I|88,33,44

I want to find all lines with 44 in the last field.  I was trying:

/[,\|]44[,\$]/

which logically is perfect - but the end of line \$ doesn't seem
right.

How do I write:

comma or pipe followed by 44 followed by comma or end of line

?

David Alyea


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to