擅长:python、mysql、java
<p>您可以通过regex这样做:</p>
<pre><code>import re
text = "28/11/2019 05:26 PM 2,074,273,364 jdev_suite_122130_win64.exe"
m = re.match(r'(\d+/\d+/\d+) +(\d{2}:\d{2} (?:AM|PM)) +([0-9,]+) ([\w.]+)', text)
if m:
print(m.groups())
</code></pre>
<p>输出:</p>
<pre><code>('28/11/2019', '05:26 PM', '2,074,273,364', 'jdev_suite_122130_win64.exe')
</code></pre>