可能重複:
Regular expression for finding currency values but not dates in text正則表達式的貨幣發現
你好,這是我的文字可以ü請查找貨幣只,如下圖所示提供REG例如:
97.38
86.16
3,259.81
28,781.07
問題在於它是從日期獲取價值還因爲它是在貨幣,所以應該限制從日期
防爆文本值:
13/07/2011 EA35906558 - 13.07.11 8054 97.38
14/07/2011 EA35906566-14.07.11 8054 86.16
14/[email protected] VP40853570 - 14.08.11 8122 3,259.81
14108/2011 VP50433270-14.08.11 8122- 28,781.07
你可以分享你迄今爲止嘗試過的嗎? – Nate
你爲什麼不處理你以前的問題[http://stackoverflow.com/questions/8430069/regular-expression-for-finding-currency-values-but-not-dates-in-text](http:/ /stackoverflow.com/questions/8430069/regular-expression-for-finding-currency-values-but-not-dates-in-text)?有三個答案,但沒有一個迴應你。 – stema