$ Match the end of the line (or before newline at the end)
perldoc perlre
HTH
Sweetblood
In reply to Re: Regex :: Line Traversal by sweetblood in thread Regex :: Line Traversal by Anonymous Monk