擅长:python、mysql、java
<p>使用<a href="http://docs.python.org/library/re.html#re.findall">^{<cd1>}</a>可以获得最简单的输出,并可用于任何数量的匹配项。</p>
<pre><code>sent = "this is a sentence 234225, and some 857307 other stuff, Time=72625, other stuff"
import re
print re.findall("Time=(\d+)", sent)
# ['72625']
</code></pre>