【轉自】http://www.cnblogs.com/JuneZhang/archive/2013/01/10/2854572.htmlhtml
利用VS2010的查找功能和正則表達式統計代碼行數:正則表達式
最後返回的結果:第一個就是要統計的行數post