From: ts Date: 2005-04-14T02:15:28+09:00 Subject: Re: pattern matching question >>>>> "A" == Automat Svet writes: A> this one : 297,12^[2 where 297,12 is the grand total. A> I really don't know what ^[2 is but I can find it in many rows of every A> document and is my only "anchor" to get exactly the grand total row A> instead of single items prices. '^[' is perhaps the escape character (\033), try with /(\d+),(\d+)\e2/ Guy Decoux